Skip to content

Commit

Permalink
Working build
Browse files Browse the repository at this point in the history
  • Loading branch information
dkolkena committed Oct 26, 2023
1 parent 06558aa commit 537e9d2
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@ RUN cd config && npm ci && \
cd ../server && npm ci && \
cd ..

FROM node:14-alpine AS runner

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY --from=builder . .

# Generate schema types for common/ to use
RUN cd server && \
npm run generate && \
Expand Down Expand Up @@ -69,6 +62,9 @@ RUN cd server && \
npm prune --production && \
cd ..

FROM node:14-alpine AS runner
COPY --from=builder . .

# Set working directory within server folder
WORKDIR /usr/src/app/server

Expand Down

0 comments on commit 537e9d2

Please sign in to comment.