minor dockerfile syntax update

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2024-08-21 08:34:29 +02:00
parent 1266371646
commit 019d9ad3b3
10 changed files with 23 additions and 17 deletions
+2 -2
View File
@@ -81,7 +81,7 @@ USER node
WORKDIR /app
# This switches many Node.js dependencies to production mode.
ENV NODE_ENV production
ENV NODE_ENV=production
# Copy repo skeleton first, to avoid unnecessary docker cache invalidation.
# The skeleton contains the package.json of each package in the monorepo,
@@ -263,7 +263,7 @@ COPY --chown=node:node app-config*.yaml ./
COPY --chown=node:node examples ./examples
# This switches many Node.js dependencies to production mode.
ENV NODE_ENV production
ENV NODE_ENV=production
CMD ["node", "packages/backend", "--config", "app-config.yaml", "--config", "app-config.production.yaml"]
```
+1 -1
View File
@@ -68,7 +68,7 @@ USER node
WORKDIR /app
# This switches many Node.js dependencies to production mode.
ENV NODE_ENV production
ENV NODE_ENV=production
# Copy repo skeleton first, to avoid unnecessary docker cache invalidation.
# The skeleton contains the package.json of each package in the monorepo,