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:
commit
873c55e2c6
@ -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"]
|
Loading…
Reference in New Issue
Block a user