Skip to content

Commit c7d4171

Browse files
committed
fix: pathing in dockerfile
1 parent 689c8fb commit c7d4171

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bot.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ FROM node:jod-alpine as base
22

33
RUN apk --no-cache add git python3 make gcc musl-dev g++ bash
44
WORKDIR /app/genesis
5-
COPY genesis/package*.json ./
5+
COPY package*.json ./
66
RUN npm ci
77

88
FROM node:jod-alpine as release
99

1010
COPY --from=base --chown=node:node /app/genesis /app/genesis
1111
WORKDIR /app/genesis
12-
COPY --chown=node:node genesis/ .
12+
COPY --chown=node:node . .
1313

1414
## Add the wait script to the image to wait for the database to be available
1515
ADD --chown=node:node https://github.com/ufoscout/docker-compose-wait/releases/download/2.7.3/wait /wait

notifier.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ FROM node:jod-alpine as base
22

33
RUN apk --no-cache add git python3 make gcc musl-dev g++ bash
44
WORKDIR /app/genesis
5-
COPY genesis/package*.json ./
5+
COPY package*.json ./
66
RUN npm ci
77

88
FROM node:jod-alpine as release
99

1010
COPY --from=base --chown=node:node /app/genesis /app/genesis
1111
WORKDIR /app/genesis
12-
COPY --chown=node:node genesis/ .
12+
COPY --chown=node:node . .
1313

1414
## Add the wait script to the image to wait for the database to be available
1515
ADD --chown=node:node https://github.com/ufoscout/docker-compose-wait/releases/download/2.7.3/wait /wait

0 commit comments

Comments
 (0)