1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 05:02:37 +01:00

Merge pull request #146 from luth31/upstream

Remove redundant Dockerfile commands and add missing port command
This commit is contained in:
Flam3rboy 2021-05-23 15:41:19 +02:00 committed by GitHub
commit 873c55e2c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,8 @@
FROM node:lts-alpine
RUN mkdir -p /usr/src/fosscord-api
WORKDIR /usr/src/fosscord-api
COPY package.json /usr/src/fosscord-api
COPY package.json .
RUN npm install
COPY . /usr/src/fosscord-api
RUN npx patch-package
COPY . .
EXPOSE 3001
CMD ["npm", "start"]