Spaces:
Paused
Paused
Ashvanth.S
commited on
Commit
·
fdeaa04
1
Parent(s):
ebee476
update dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -10,12 +10,12 @@ COPY . /app
|
|
10 |
# Install any needed packages specified in requirements.txt
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
12 |
|
13 |
-
# Make port
|
14 |
-
EXPOSE
|
15 |
|
16 |
# Create a non-root user and switch to it
|
17 |
RUN adduser --disabled-password --gecos '' appuser
|
18 |
USER appuser
|
19 |
|
20 |
# Run main_app.py when the container launches
|
21 |
-
CMD ["
|
|
|
10 |
# Install any needed packages specified in requirements.txt
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
12 |
|
13 |
+
# Make port 7860 available to the world outside this container
|
14 |
+
EXPOSE 7860
|
15 |
|
16 |
# Create a non-root user and switch to it
|
17 |
RUN adduser --disabled-password --gecos '' appuser
|
18 |
USER appuser
|
19 |
|
20 |
# Run main_app.py when the container launches
|
21 |
+
CMD ["python", "main_app.py"]
|