feat: Initial code
All checks were successful
Build Docker / Build Image (push) Successful in 32s

This commit is contained in:
2023-11-09 21:59:11 +11:00
parent 447ba4f979
commit 859eede9ed
7 changed files with 300 additions and 0 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM --platform=$BUILDPLATFORM python:3.10-alpine AS builder
WORKDIR /app
COPY requirements.txt /app
RUN --mount=type=cache,target=/root/.cache/pip \
pip3 install -r requirements.txt
COPY . /app
ENTRYPOINT ["python3"]
CMD ["server.py"]
FROM builder as dev-envs