wip: testing dev image workflows and deployment setup (#716)

* chore(deploy-compose.yml): update API and client image references to use latest versions from ghcr.io
feat(deploy-compose.yml): add NODE_ENV environment variable with value 'production' for API service

* chore(dev-images.yml): tag and push latest images to container registry
chore(dev-images.yml): tag and push latest client image to container registry
chore(dev-images.yml): tag and push latest dev image to container registry
fix(Dockerfile.multi): fix CMD command to properly set NODE_ENV variable
This commit is contained in:
Danny Avila 2023-07-27 16:48:41 -04:00 committed by GitHub
parent 32281d1b8d
commit 2a6e000217
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 9 deletions

View file

@ -24,7 +24,7 @@ FROM base AS api-build
COPY --from=client-build /app/client/dist /app/client/dist
EXPOSE 3080
ENV HOST=0.0.0.0
CMD ["NODE_ENV=production", "node", "server/index.js"]
CMD ["node", "NODE_ENV=production", "server/index.js"]
# Nginx setup
FROM nginx:1.21.1-alpine AS prod-stage