Skip to content

Instantly share code, notes, and snippets.

@cassioeskelsen
Created June 12, 2021 11:07
Show Gist options
  • Select an option

  • Save cassioeskelsen/aaa648d8635178189f5d5278d246296d to your computer and use it in GitHub Desktop.

Select an option

Save cassioeskelsen/aaa648d8635178189f5d5278d246296d to your computer and use it in GitHub Desktop.
FROM python:3.9-slim
ARG SOURCE_FOLDER
WORKDIR /src
RUN apt-get install -y tzdata
ENV TZ America/Sao_Paulo
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt --force
# Your application stuff here
RUN python -m infrastructure.add_ca_root_cert
CMD python -m src.${SOURCE_FOLDER}.main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment