Update Dockerfile
Browse files- Dockerfile +0 -11
Dockerfile
CHANGED
|
@@ -1,19 +1,8 @@
|
|
| 1 |
# Use an official Python runtime as a parent image
|
| 2 |
FROM python:3.9
|
| 3 |
|
| 4 |
-
# Install git
|
| 5 |
-
RUN chmod +x update_linux.sh
|
| 6 |
-
CMD ["./update_linux.sh"]
|
| 7 |
-
|
| 8 |
-
# Install any needed packages specified in requirements.txt
|
| 9 |
-
RUN pip install --no-cache-dir --upgrade -r requirements_cpu_only.txt
|
| 10 |
-
|
| 11 |
RUN python one_click.py
|
| 12 |
|
| 13 |
|
| 14 |
-
|
| 15 |
-
# Make sure the start script is executable
|
| 16 |
-
RUN chmod +x start_linux.sh
|
| 17 |
-
|
| 18 |
# Run the start script when the container launches
|
| 19 |
CMD ["./start_linux.sh"]
|
|
|
|
| 1 |
# Use an official Python runtime as a parent image
|
| 2 |
FROM python:3.9
|
| 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
RUN python one_click.py
|
| 5 |
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
# Run the start script when the container launches
|
| 8 |
CMD ["./start_linux.sh"]
|