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

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/"]