This commit is contained in:
Lio Young 2021-10-17 18:37:40 +02:00
parent 614cd18e72
commit 4d768e97bb
1 changed files with 20 additions and 0 deletions

20
Dockerfile Normal file
View File

@ -0,0 +1,20 @@
FROM node:16-alpine
LABEL MAINTAINER="Lio <lion@himbo.cat>"
RUN apk update && apk add git ca-certificates curl
WORKDIR /opt/thaldrin
COPY . .
RUN npm i -g typescript
RUN npm i
RUN rm -rf build
RUN tsc
RUN cp -r src/modules/lingua/langs build/src/modules/lingua/langs
# RUN rm -rf src
RUN npm cache clean --force
ENTRYPOINT ["npm", "run", "node:start"]