Initial commit
This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM python:3.9-bookworm
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ENV TZ=Europe/Warsaw
|
||||
ENV PORT=8000
|
||||
|
||||
RUN python -m venv .venv \
|
||||
&& .venv/bin/pip install --upgrade pip
|
||||
|
||||
COPY ./requirements.txt .
|
||||
RUN .venv/bin/pip install --no-cache-dir -r requirements.txt
|
||||
RUN .venv/bin/pip install --no-cache-dir lxml
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN chmod +x /app/entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/app/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user