Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -14,8 +14,8 @@ ENV HOME=/home/user \
|
|
| 14 |
WORKDIR $HOME/app
|
| 15 |
|
| 16 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 17 |
-
|
| 18 |
|
| 19 |
-
ADD ["base-admin.jar","demo.jar"]
|
| 20 |
EXPOSE :8888
|
| 21 |
-
ENTRYPOINT ["java","-jar","
|
|
|
|
| 14 |
WORKDIR $HOME/app
|
| 15 |
|
| 16 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 17 |
+
COPY --chown=user . $HOME/app
|
| 18 |
|
| 19 |
+
# ADD ["base-admin.jar","demo.jar"]
|
| 20 |
EXPOSE :8888
|
| 21 |
+
ENTRYPOINT ["java","-jar","base-admin.jar"]
|