Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
3 changes: 1 addition & 2 deletions src/Dockerfile → Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
FROM node:lts-alpine
ENV NODE_ENV=production
WORKDIR /usr/src/app
COPY ["package.json", "package-lock.json*", "npm-shrinkwrap.json*", "./"]
COPY src/ .
RUN npm install --production --silent && mv node_modules ../
COPY . .
EXPOSE 3500
RUN chown -R node /usr/src/app
USER node
Expand Down