Merge pull request #76 from luth31/master

[Dockerfile] Copy package-lock.json
This commit is contained in:
Flam3rboy authored and GitHub committed 2021-07-29 21:26:02 +02:00
commit 1a2b5caee2
1 file changed
+2 -1
+2 -1
View File
@@ -1,6 +1,7 @@
FROM node:lts-alpine
WORKDIR /usr/src/fosscord-gateway
COPY package.json .
COPY package-lock.json .
RUN apk --no-cache --virtual build-dependencies add \
python \
make \
@@ -10,4 +11,4 @@ RUN apk del build-dependencies
COPY . .
RUN npm run build
EXPOSE 3002
CMD ["node", "dist/start.js"]
CMD ["node", "dist/start.js"]