mirror of
https://gitlab.com/sfz.aalen/infra/fabaccess.git
synced 2025-03-12 15:01:47 +01:00
migrated to Postgres because of binary availability of postgres python client. Also implemented development compose file and refactored production python image
10 lines
172 B
Docker
10 lines
172 B
Docker
FROM python:3.11-alpine
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install -r requirements.txt
|
|
COPY ./fab_access/* /app
|
|
|
|
ENTRYPOINT [ "python" ]
|
|
CMD [ "-u", "main.py" ]
|