Flask/Containerfile
Simon Diesenreiter 5efd61d236
Some checks failed
CI / linter (ubuntu-latest, 3.9) (push) Failing after 1m29s
Rename the project from template / rename-project (push) Has been skipped
CI / tests_linux (ubuntu-latest, 3.9) (push) Has been skipped
initial commit
2024-11-10 07:27:36 -08:00

10 lines
206 B
Docker

FROM python:3.7-alpine
COPY . /app
WORKDIR /app
RUN pip install .
RUN project_name create-db
RUN project_name populate-db
RUN project_name add-user -u admin -p admin
EXPOSE 5000
CMD ["project_name", "run"]