build with src files
Some checks failed
Build and Push Image / Build and push image (push) Failing after 22s

This commit is contained in:
Andrew Ridgway 2024-08-13 17:27:29 +10:00
parent 1c54bc9a4f
commit 366999984d
2 changed files with 4 additions and 2 deletions

View File

@ -7,8 +7,8 @@ services:
build: build:
context: . context: .
dockerfile: flask.Dockerfile dockerfile: flask.Dockerfile
volumes: # volumes:
- ./src/flask:/pool_data/src/flask #- ./src/flask:/pool_data/src/flask
ports: ports:
- "80:80" - "80:80"
- "5000:5000" - "5000:5000"

View File

@ -2,6 +2,8 @@ FROM git.aridgwayweb.com/armistace/pool_base_image AS flask
COPY requirements.txt . COPY requirements.txt .
ADD src /pool_data/src
ENV FLASK_ENV production ENV FLASK_ENV production
ENV FLASK_DEBUG 1 ENV FLASK_DEBUG 1