Update Dockerfile
Browse files- Dockerfile +1 -11
Dockerfile
CHANGED
|
@@ -33,15 +33,5 @@ WORKDIR $HOME/app
|
|
| 33 |
COPY --from=builder /app/build ./static
|
| 34 |
COPY . .
|
| 35 |
|
| 36 |
-
# Copy application files
|
| 37 |
-
COPY --chown=user . /app
|
| 38 |
-
|
| 39 |
-
# Switch to the non-root user
|
| 40 |
-
USER user
|
| 41 |
-
|
| 42 |
-
# Set environment variables
|
| 43 |
-
ENV HOME=/home/user \
|
| 44 |
-
PATH=/home/user/.local/bin:$PATH
|
| 45 |
-
|
| 46 |
# Command to run the application
|
| 47 |
-
CMD ["
|
|
|
|
| 33 |
COPY --from=builder /app/build ./static
|
| 34 |
COPY . .
|
| 35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
# Command to run the application
|
| 37 |
+
CMD ["python", "app.py"]
|