Initial server code. Building scripts

This commit is contained in:
unknown
2021-09-18 15:01:20 +02:00
parent 77adabc2af
commit fa6333a8fa
12 changed files with 2682 additions and 15 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM node:14-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
# Build server code
RUN npm run build
ENV NODE_ENV=production
CMD ["node", "build/server.js"]