Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
|
@@ -76,7 +76,6 @@ RUN npm install --omit=dev --legacy-peer-deps --ignore-scripts \
|
|
| 76 |
# .dockerignore layer too, so this is belt-and-braces.
|
| 77 |
COPY --chown=exocore:exocore dist ./dist
|
| 78 |
COPY --chown=exocore:exocore scripts ./scripts
|
| 79 |
-
COPY --chown=exocore:exocore scripts ./local-db
|
| 80 |
|
| 81 |
# 4) Persistent state lives in /app/local-db. Mount a volume here at
|
| 82 |
# runtime if the user database needs to survive container restarts.
|
|
@@ -85,7 +84,7 @@ VOLUME ["/app/local-db"]
|
|
| 85 |
|
| 86 |
USER exocore
|
| 87 |
|
| 88 |
-
EXPOSE
|
| 89 |
|
| 90 |
# Cheap healthcheck — the backend exposes GET /exocore/api/health.
|
| 91 |
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
|
|
|
|
| 76 |
# .dockerignore layer too, so this is belt-and-braces.
|
| 77 |
COPY --chown=exocore:exocore dist ./dist
|
| 78 |
COPY --chown=exocore:exocore scripts ./scripts
|
|
|
|
| 79 |
|
| 80 |
# 4) Persistent state lives in /app/local-db. Mount a volume here at
|
| 81 |
# runtime if the user database needs to survive container restarts.
|
|
|
|
| 84 |
|
| 85 |
USER exocore
|
| 86 |
|
| 87 |
+
EXPOSE 8081
|
| 88 |
|
| 89 |
# Cheap healthcheck — the backend exposes GET /exocore/api/health.
|
| 90 |
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
|