mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 05:02:37 +01:00
Remove redundant Dockerfile commands
This commit is contained in:
parent
1bfa280626
commit
e69464684e
@ -1,13 +1,11 @@
|
||||
FROM node:lts-alpine
|
||||
RUN mkdir -p /usr/src/fosscord-gateway
|
||||
WORKDIR /usr/src/fosscord-gateway
|
||||
COPY package.json /usr/src/fosscord-gateway
|
||||
COPY . .
|
||||
RUN apk --no-cache --virtual build-dependencies add \
|
||||
python \
|
||||
make \
|
||||
g++
|
||||
RUN npm install
|
||||
RUN apk del build-dependencies
|
||||
COPY . /usr/src/fosscord-gateway
|
||||
EXPOSE 3002
|
||||
CMD ["npm", "start"]
|
Loading…
Reference in New Issue
Block a user