We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe977ae commit ad5d06dCopy full SHA for ad5d06d
Dockerfile
@@ -18,7 +18,8 @@ WORKDIR /usr/src/app
18
COPY --from=builder /usr/src/app/package*.json ./
19
RUN npm ci --production && npm cache clean --force
20
COPY --from=builder /usr/src/app/build ./build
21
+RUN mv ./build/src/models/*.json ./build/models
22
23
EXPOSE 3000
24
-CMD ["node", "build/src/index.js"]
25
+CMD ["node", "build/index.js"]
docker-compose-prod.yaml
@@ -19,7 +19,7 @@ services:
- MONGODB_URI=mongodb://mongodb:27017/api-data
- LDAP_URI=ldap://10.0.1.4:389
volumes:
- - ./keys/:/app/keys
+ - ./keys/:/usr/src/app/keys/
depends_on:
- mongodb
restart: unless-stopped
0 commit comments