Merge pull request #473 from xaronnn/master

Fix requirements with python
This commit is contained in:
Samuel 2021-10-17 11:57:20 +02:00 committed by GitHub
commit f9e20bf61f

View File

@ -1,8 +1,7 @@
FROM alpine FROM nikolaik/python-nodejs:latest
RUN apk add --update nodejs npm
WORKDIR /usr/src/fosscord-server/ WORKDIR /usr/src/fosscord-server/
COPY . . COPY . .
WORKDIR /usr/src/fosscord-server/bundle WORKDIR /usr/src/fosscord-server/bundle
RUN npm run setup RUN npm run setup
EXPOSE 3001 EXPOSE 3001
CMD [ "npm", "run", "start:bundle" ] CMD [ "npm", "run", "start:bundle" ]