Skip to content
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Commit 48dbc1d

Browse files
committed
fixing docker
1 parent 4f6ecff commit 48dbc1d

File tree

3 files changed

+57
-1
lines changed

3 files changed

+57
-1
lines changed

Dockerfile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,14 @@ RUN python3 -m pip install --no-cache-dir --upgrade pip && \
1616

1717
RUN pip install git+https://github.com/huggingface/transformers.git
1818

19-
COPY . /src
19+
RUN mkdir -p /workspace/wav2vec/
20+
21+
COPY finetune.sh /workspace/wav2vec/
22+
COPY run_common_voice.py /workspace/wav2vec/
23+
COPY home-server.html /usr/bin/home-server.html
24+
25+
RUN chown -R 42420:42420 /workspace
26+
27+
ENTRYPOINT []
28+
CMD ["supervisord", "-n", "-u", "42420", "-c", "/etc/supervisor/supervisor.conf"]
29+
~

finetune.sh

100644100755
File mode changed.

home-server.html

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<html>
2+
<head>
3+
<title>OVH AI Training Job</title>
4+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
5+
</head>
6+
<body>
7+
<div class="container mt-3">
8+
<div class="row">
9+
<div class="col-md-6">
10+
<div class="bg-light border p-3">
11+
<div class="media">
12+
<img class="mr-3" src="https://jupyter.org/assets/main-logo.svg" width="64px" height="64px">
13+
<div class="media-body mt-3">
14+
<p><a target="_blank" href="$JUPYTER_JOB_URL"
15+
class="btn btn-primary m-t-">Jupyter Lab</a></p>
16+
</div>
17+
</div>
18+
</div>
19+
</div>
20+
<div class="col-md-6">
21+
<div class="bg-light border p-3">
22+
<div class="media">
23+
<img class="mr-3"
24+
src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Visual_Studio_Code_1.35_icon.svg/1200px-Visual_Studio_Code_1.35_icon.svg.png"
25+
width="64px" height="64px">
26+
<div class="media-body mt-3">
27+
<p><a target="_blank" href="$CODE_JOB_URL"
28+
class="btn btn-primary m-t">Visual Studio Code</a></p>
29+
</div>
30+
</div>
31+
</div>
32+
</div>
33+
<div class="col-md-6 mt-4">
34+
<div class="bg-light border p-3">
35+
<div class="media">
36+
<img class="mr-3" src="https://img.icons8.com/fluent/344/discord-new-logo.png" width="64px" height="64px">
37+
<div class="media-body mt-3">
38+
<p><a target="_blank" href="https://discord.gg/HeuCTxnXrE" class="btn btn-primary m-t">Join Discord for Help</a></p>
39+
</div>
40+
</div>
41+
</div>
42+
</div>
43+
</div>
44+
</div>
45+
</body>
46+
</html>

0 commit comments

Comments
 (0)