docker setup
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 34s Details

This commit is contained in:
Ladd Hoffman 2024-04-23 20:13:39 -05:00
parent fe2cbe0e27
commit 808db61300
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ FROM node
WORKDIR /app
ADD package.json package-lock.json contract-addresses.json .env /app/
ADD package.json package-lock.json contract-addresses.json /app/
ADD src/ /app/src/
ADD contractArtifacts/ /app/contractArtifacts/

View File

@ -2,11 +2,11 @@ services:
backend:
build: .
restart: always
ports:
- "3002:3000"
network_mode: host
volumes:
- ./data:/data
env_file: .env
environment:
- LEVEL_DATA_DIR=/data
- BOT_STORAGE_PATH="./data/bot-storage.json"
- BOT_CRYPTO_STORAGE_PATH="./data/bot-crypto"
- BOT_CRYPTO_STORAGE_PATH="./data/bot-crypto"