Files
django-q2/Dockerfile.dev
Alberto fb23b6b825 Fix 'receive_message_wait_time_seconds' SQS broker management (#243)
* Fix 'receive_message_wait_time_seconds' SQS broker management

* Remove socket volume from localstack container
2024-11-03 15:04:35 +01:00

29 lines
507 B
Docker

# Sets the python version
FROM python:3.9.5-slim
# Allows the logs generated by python apps to be rendered in the terminal
ENV PYTHONUNBUFFERED 1
# Sets the default shell to bash
ENV SHELL /bin/bash
RUN set -ex \
&& apt update \
&& apt-get install gcc python3-dev --yes
# Upgrades pip
RUN pip install -U pip setuptools
# Install poetry
RUN pip install poetry==1.8.2
WORKDIR /app
COPY . .
RUN poetry lock --no-update
RUN poetry config virtualenvs.create false
RUN poetry install -E testing