desktop version

This commit is contained in:
LeNei
2023-01-16 20:11:37 +01:00
commit 58d280e65c
37 changed files with 6023 additions and 0 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM node:16-alpine as build
# set working directory
WORKDIR /app
# install and cache app dependencies
COPY package.json package-lock.json ./
RUN npm ci
# build app
COPY . .
RUN npm run build
# copy build content into nginx container
FROM nginx:1.23.3-alpine-slim
COPY nginx.conf /etc/nginx/nginx.conf
COPY --from=build /app/build /usr/share/nginx/html
EXPOSE 3000
CMD ["nginx", "-g", "daemon off;"]