added creation of repo dir and moved env vars into docker compose

This commit is contained in:
brb
2023-07-06 11:58:21 +02:00
parent 416e9de7ce
commit 39b2afaf1f
2 changed files with 7 additions and 2 deletions
+1
View File
@@ -28,6 +28,7 @@ FROM dvcorg/cml:0-dvc2-base1-gpu
ENV APP_HOME = /home/app
RUN mkdir -p $APP_HOME
WORKDIR $APP_HOME
RUN mkdir -p /home/app/repo
# install packages from builder
COPY --from=builder /usr/src/app/wheels /wheels
+6 -2
View File
@@ -4,6 +4,10 @@ services:
build: .
container_name: gitea-runner
restart: unless-stopped
env_file: prod.env
ports:
- "8000:8000"
- "8000:8000"
environment:
- LOGGER_LEVEL=info
- LISTEN_IP=0.0.0.0
- LISTEN_PORT=8000
- REPO_DIR = /home/app/repo/