1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-08-09 12:35:18 +02:00

Docker build. Catch client routes on server. Initial config utility

This commit is contained in:
unknown 2021-06-07 13:40:51 +02:00
parent d2e6ebae4f
commit 1636b705de
10 changed files with 125 additions and 13 deletions

17
Dockerfile Normal file
View file

@ -0,0 +1,17 @@
FROM node:14-alpine
WORKDIR /app
COPY package*.json .
RUN npm install --only=production
COPY . .
RUN mkdir -p ./public ./data
RUN mv ./client/build/* ./public
RUN rm -rf ./client
EXPOSE 5005
CMD ["node", "server.js"]