This commit is contained in:
parent
e58f9866e7
commit
47ab750bdc
|
@ -13,6 +13,7 @@ jobs:
|
|||
node-version: 16
|
||||
- run: npm install -g yarn
|
||||
- run: yarn
|
||||
- run: yarn build
|
||||
- run: sudo apt install redis-tools
|
||||
- run: chmod +x spawn_redis_server.sh test_local.sh
|
||||
- run: ./spawn_redis_server.sh &
|
||||
|
|
|
@ -3,11 +3,11 @@ FROM node:alpine
|
|||
WORKDIR /usr/app
|
||||
|
||||
COPY package.json .
|
||||
COPY . .
|
||||
|
||||
RUN yarn
|
||||
|
||||
COPY . .
|
||||
RUN yarn build
|
||||
|
||||
EXPOSE 6379
|
||||
|
||||
ENTRYPOINT ["node"]
|
||||
ENTRYPOINT ["yarn app"]
|
|
@ -7,4 +7,4 @@
|
|||
# DON'T EDIT THIS!
|
||||
currentLoc=$(pwd)
|
||||
yarn app init --name "stockpile-db" --port 6379 --configpath $currentLoc/stockpile.json --dumppath $currentLoc/db/stockpile.db
|
||||
exec yarn app start --configpath $currentLoc/stockpile.json
|
||||
yarn app start --configpath $currentLoc/stockpile.json
|
||||
|
|
Loading…
Reference in New Issue