trim newlines

This commit is contained in:
Mylloon 2022-07-03 19:16:48 +02:00
parent 24a1a6cc5e
commit 5fd4d70bfb
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -3,15 +3,11 @@
FROM node:16.15.0-alpine3.15 FROM node:16.15.0-alpine3.15
RUN apk add dumb-init RUN apk add dumb-init
ENV NODE_ENV=production ENV NODE_ENV=production
USER node USER node
WORKDIR /app WORKDIR /app
COPY --chown=node:node . . COPY --chown=node:node . .
RUN npm ci --only=production RUN npm ci --only=production
CMD ["dumb-init", "node", "src/index.js"] CMD ["dumb-init", "node", "src/index.js"]