-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Docker files, updates usage comments for
train.py
- Loading branch information
Showing
4 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "rdp_ret_net", | ||
"dockerComposeFile": "../docker-compose.yml", | ||
"service": "rdp_ret_net", | ||
"workspaceFolder": "/workspace", | ||
"shutdownAction": "stopCompose" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM ubuntu:20.04 | ||
|
||
# Install python3 | ||
RUN apt-get update && \ | ||
apt-get install ffmpeg libsm6 libxext6 -y && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get -y install python3-pip | ||
|
||
# Rename python3 command to python, pip3 to pipi | ||
# RUN ln -s /usr/bin/python3 /usr/bin/python | ||
# RUN ln -s /usr/bin/pip3 /usr/bin/pip | ||
|
||
# Copy requirements.txt to working directory | ||
COPY scripts/reqs.txt reqs.txt | ||
# Install Python packages defined in reqs.txt | ||
RUN apt-get update | ||
|
||
RUN pip install -r reqs.txt | ||
|
||
# Start the container | ||
ENTRYPOINT ["tail", "-f", "/dev/null"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
version: "3" | ||
|
||
services: | ||
rdp_ret_net: | ||
image: dalmouiee/rdp_ret_net:devel | ||
volumes: | ||
- .:/workspace |