Add comments

This commit is contained in:
Eden Kirin
2024-01-11 12:28:55 +01:00
parent 7a458790d2
commit d96368feb6
8 changed files with 109 additions and 0 deletions

View File

@ -1,14 +1,19 @@
FROM python:3.11-slim-bookworm
# set virtual env path
ENV \
PATH=/venv/bin:$PATH
# does nothing, for documentation only
EXPOSE 3000
# create and set main app directory
WORKDIR /app
# copy app files to /app directory
COPY ./app .
# install dependencies
RUN \
python -m venv /venv && \
pip install -r requirements.txt