core/Dockerfile
Untone 93d536bdba
Some checks failed
Deploy to core / deploy (push) Failing after 30s
dockerfile-fix
2024-02-17 13:21:52 +03:00

16 lines
360 B
Docker

FROM python:alpine3.18
WORKDIR /app
COPY . /app
RUN apk update && apk add --no-cache git gcc curl postgresql-client
RUN curl -sSL https://install.python-poetry.org | python - && \
poetry config virtualenvs.create false && \
poetry install --no-dev
# Expose port 8000
EXPOSE 8000
# Run server when the container launches
CMD ["python", "server.py"]