Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -10
Dockerfile
CHANGED
|
@@ -3,19 +3,11 @@
|
|
| 3 |
|
| 4 |
FROM dsalwala/gaf-guard-server:latest
|
| 5 |
|
| 6 |
-
# RUN useradd -m -u 1000 user
|
| 7 |
-
# USER user
|
| 8 |
-
# ENV PATH="/home/user/.local/bin:$PATH"
|
| 9 |
-
|
| 10 |
# Set the working directory to the user's home directory
|
| 11 |
WORKDIR $HOME/app
|
| 12 |
|
| 13 |
-
#
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
# COPY --chown=user . /app
|
| 17 |
-
# RUN chown -R user /app
|
| 18 |
-
# COPY risk_assessment.yaml .
|
| 19 |
|
| 20 |
# Expose the gaf guard server port
|
| 21 |
EXPOSE 8000
|
|
|
|
| 3 |
|
| 4 |
FROM dsalwala/gaf-guard-server:latest
|
| 5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
# Set the working directory to the user's home directory
|
| 7 |
WORKDIR $HOME/app
|
| 8 |
|
| 9 |
+
# Copy configuration file
|
| 10 |
+
COPY risk_assessment.yaml .
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
# Expose the gaf guard server port
|
| 13 |
EXPOSE 8000
|