added creation of repo dir and moved env vars into docker compose
This commit is contained in:
@@ -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
@@ -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/
|
||||
Reference in New Issue
Block a user