mirror of
https://github.com/spacebarchat/server.git
synced 2026-03-31 22:25:43 +00:00
Merge pull request #76 from luth31/master
[Dockerfile] Copy package-lock.json
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user