dockerized newsite mariadb setup
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
# syntax=docker/dockerfile:1.4
|
||||
FROM python:3-alpine AS builder
|
||||
FROM python:3-slim-bookworm AS builder
|
||||
|
||||
RUN apt update && apt install -y libmariadb-dev gcc
|
||||
|
||||
WORKDIR /code
|
||||
COPY requirements.txt /code
|
||||
@ -9,7 +11,7 @@ RUN target=/root/.cache/pip \
|
||||
# Need to make this explicit as part of expansion, no migrations or venv
|
||||
COPY . .
|
||||
|
||||
ENV FLASK_APP app.py
|
||||
#ENV FLASK_APP app.py
|
||||
|
||||
# This might be scary to leave on
|
||||
#ENV FLASK_ENV development
|
||||
|
Reference in New Issue
Block a user