You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

22 lines
432 B

# syntax=docker/dockerfile:1
FROM python:3.8-slim-buster
WORKDIR /repostajes
# set environment variables
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
# install system dependencies
RUN apt-get update && apt-get install -y sqlite3
COPY requirements.txt requirements.txt
RUN pip install --upgrade pip
RUN pip3 install -r requirements.txt
COPY . .
COPY .env .
# run entrypoint.sh
ENTRYPOINT ["/repostajes/entrypoint.sh"]