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
|
ENV APP_HOME = /home/app
|
||||||
RUN mkdir -p $APP_HOME
|
RUN mkdir -p $APP_HOME
|
||||||
WORKDIR $APP_HOME
|
WORKDIR $APP_HOME
|
||||||
|
RUN mkdir -p /home/app/repo
|
||||||
|
|
||||||
# install packages from builder
|
# install packages from builder
|
||||||
COPY --from=builder /usr/src/app/wheels /wheels
|
COPY --from=builder /usr/src/app/wheels /wheels
|
||||||
|
|||||||
+5
-1
@@ -4,6 +4,10 @@ services:
|
|||||||
build: .
|
build: .
|
||||||
container_name: gitea-runner
|
container_name: gitea-runner
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file: prod.env
|
|
||||||
ports:
|
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