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

Merge pull request #71 from luth31/master

Move TS compilation to docker image build
This commit is contained in:
Flam3rboy 2021-05-29 21:43:49 +02:00 committed by GitHub
commit 6be3b55ffb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,5 +8,6 @@ RUN apk --no-cache --virtual build-dependencies add \
RUN npm install
RUN apk del build-dependencies
COPY . .
RUN npm run build
EXPOSE 3002
CMD ["npm", "start"]
CMD ["node", "dist/"]