Updated Dependencies, Makefiles for build process, Docker Images for Front & Backend

This commit is contained in:
Felix Kaspar
2024-08-31 21:55:25 +02:00
parent 734c871666
commit f3697a18e3
13 changed files with 923 additions and 916 deletions

19
server-node/Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
# Use an existing image as a base
FROM node:22.2.0-alpine
RUN apk add --no-cache git
WORKDIR /app
ENV NODE_ENV production
COPY package*.json ./
RUN npm ci --legacy-peer-deps
COPY ./dist ./dist
RUN apk del git
EXPOSE 8000
CMD [ "node", "./dist/index.js" ]