summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-29 21:43:49 +0200
committerGitHub <noreply@github.com>2021-05-29 21:43:49 +0200
commit6be3b55ffb7a34b642ef905fe511fde06b082c79 (patch)
tree07fdf9697a2c17dd083d39ab567183a41604ae67
parentMerge pull request #70 from 9qz/master (diff)
parentDockerfile: run app instead of recompiling (diff)
downloadserver-6be3b55ffb7a34b642ef905fe511fde06b082c79.tar.xz
Merge pull request #71 from luth31/master
Move TS compilation to docker image build
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile

index b2329233..a69b2956 100644 --- a/Dockerfile +++ b/Dockerfile
@@ -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"] \ No newline at end of file +CMD ["node", "dist/"] \ No newline at end of file