refactor: Renaming Dockerfile and changing structure

Refs: OPS-10
The Dockerfile is renamed to the canonical name and not contains
multiple stages to eventually support dev and pod builds
This commit is contained in:
Alivecow 2025-02-25 09:16:49 +01:00
parent 8f53233d28
commit f8d07c4bb8

View file

@ -1,6 +1,4 @@
# syntax=docker/dockerfile:1
FROM python:3.12-alpine
FROM python:3.12-alpine AS base
# VENV not needed in docker container
ENV POETRY_VIRTUALENVS_CREATE=false
@ -13,6 +11,9 @@ COPY . .
RUN pip install poetry
RUN poetry install
FROM base as dev
# Expose development port
EXPOSE 5000