This repository has been archived on 2022-10-08. You can view files and clone it, but cannot push or open issues or pull requests.
memories/Dockerfile

13 lines
326 B
Docker

FROM alpine:latest
ENV PYTHON_VERSION=3.8.2-r0
ENV BUILD_DIR "/tmp/build"
WORKDIR ${BUILD_DIR}
COPY . ${BUILD_DIR}
RUN apk --update add python3-dev==${PYTHON_VERSION} gcc musl-dev libffi-dev openssl-dev && \
pip3 install poetry && \
poetry install
CMD ["poetry", "run", "python", "memories/manage.py", "runserver"]