Skip to content

Commit

Permalink
fix fa deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-flip committed Oct 13, 2024
1 parent 27a71c7 commit 31e4587
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ services:

worker_faautpost:
build:
context: ./workers/faAutopost
context: .
dockerfile: ./workers/faAutopost/Dockerfile
depends_on:
- db-feb
restart: always
Expand Down
6 changes: 3 additions & 3 deletions workers/faAutopost/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ FROM node:18.5.0-buster-slim
WORKDIR /usr/src/app

# Get app dependencies
COPY package*.json ./
COPY ../../package-lock.json ./
COPY ./workers/faAutopost/package*.json ./
COPY ./package-lock.json ./

# building app
RUN npm ci --omit=dev

# Bundle app source
COPY . .
COPY ./workers/faAutopost/. .

# start up the bot
CMD [ "npm", "start" ]

0 comments on commit 31e4587

Please sign in to comment.