Compile TS during Docker image build

This commit is contained in:
Paul Munteanu committed 2021-05-29 21:36:19 +03:00
1 parent dd24e49be1
commit f5461b5420
2 files changed
+2 -1

No files matched your search

+1
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"]