Extracting FileController into a Uploader container

This commit is contained in:
David Négrier 2020-12-09 21:29:29 +01:00
parent 25f9662b3c
commit bf797085e6
37 changed files with 4856 additions and 9 deletions

9
uploader/Dockerfile Normal file
View file

@ -0,0 +1,9 @@
FROM thecodingmachine/nodejs:12
COPY --chown=docker:docker uploader .
RUN yarn install
ENV NODE_ENV=production
RUN yarn run tsc
CMD ["yarn", "run", "runprod"]