summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
authorPaul Munteanu <luth@luthcode.net>2021-05-29 21:36:19 +0300
committerPaul Munteanu <luth@luthcode.net>2021-05-29 21:36:19 +0300
commitf5461b5420a9bf2d22bc16ddacfeb577350d6f06 (patch)
tree7183d7a94e9cdbb7d114bf0f5c29f4bd0c8ff573 /Dockerfile
parentMerge branch 'fosscord:master' into master (diff)
downloadserver-ts-f5461b5420a9bf2d22bc16ddacfeb577350d6f06.tar.xz
Compile TS during Docker image build
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile

index b2329233..48f9dd36 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