minor dockerfile syntax update
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -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"]
|
||||
```
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -85,7 +85,7 @@ FROM node:16-bullseye-slim
|
||||
|
||||
# highlight-add-start
|
||||
# Set Python interpreter for `node-gyp` to use
|
||||
ENV PYTHON /usr/bin/python3
|
||||
ENV PYTHON=/usr/bin/python3
|
||||
# highlight-add-end
|
||||
|
||||
# Install sqlite3 dependencies. You can skip this if you don't use sqlite3 in the image,
|
||||
|
||||
Reference in New Issue
Block a user