Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
#Use an official Python runtime as a parent image
|
| 2 |
FROM python:3.10-slim-buster
|
| 3 |
|
| 4 |
# Set the working directory in the container to /app
|
|
@@ -10,6 +10,9 @@ RUN apt-get update && apt-get install -y git
|
|
| 10 |
# Clone the repository
|
| 11 |
RUN git clone https://github.com/pasq96/MammaMia.git .
|
| 12 |
|
|
|
|
|
|
|
|
|
|
| 13 |
# Install any needed packages specified in requirements.txt
|
| 14 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
|
|
|
|
| 1 |
+
##Use an official Python runtime as a parent image
|
| 2 |
FROM python:3.10-slim-buster
|
| 3 |
|
| 4 |
# Set the working directory in the container to /app
|
|
|
|
| 10 |
# Clone the repository
|
| 11 |
RUN git clone https://github.com/pasq96/MammaMia.git .
|
| 12 |
|
| 13 |
+
# Copy the local config.json file to the container
|
| 14 |
+
COPY config.json /app/config.json
|
| 15 |
+
|
| 16 |
# Install any needed packages specified in requirements.txt
|
| 17 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 18 |
|