initial commit

This commit is contained in:
2024-12-30 15:31:47 +01:00
parent fd882e5ebb
commit 14f9af54ef
45 changed files with 3590 additions and 6 deletions

18
Dockerfile Normal file
View File

@ -0,0 +1,18 @@
# syntax=docker/dockerfile:1
FROM node:alpine as build
WORKDIR /web
COPY ./web /web
RUN npm install
RUN npm run build
FROM python:3.10-alpine
COPY ./ /code
COPY --from=0 /web /code/web
ENV FLASK_APP=app.py
WORKDIR /code
ENV FLASK_RUN_HOST=0.0.0.0
RUN apk add --no-cache gcc musl-dev linux-headers
EXPOSE 5000
# COPY . .
RUN pip install -r /code/requirements.txt
CMD ["flask", "run", "--debug"]