Skip to content

Commit

Permalink
fix: docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
pahaz committed Jun 12, 2024
1 parent 0391f2c commit 5d9bf1f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1.7-labs
FROM buildpack-deps:bookworm AS base
# https://hub.docker.com/_/node
# https://github.com/nodejs/docker-node/blob/18ed56ea9ba03c16f48372927f5eb2553033e8de/14/buster/Dockerfile
Expand Down Expand Up @@ -36,10 +37,9 @@ RUN echo "# Build time .env config!" >> /home/app/.env && \
echo "DATABASE_URL=undefined" >> /home/app/.env && \
echo "NODE_ENV=production" >> /home/app/.env

COPY package*.json ./
COPY ./yarn.lock ./yarn.lock
COPY ./.yarn ./.yarn
COPY ./.yarnrc.yml ./.yarnrc.yml
COPY package*.json yarn.lock .yarn .yarnrc.yml ./
COPY --parents packages/*/package.json ./
COPY --parents apps/*/package.json ./

# Cache packages!
RUN set -ex \
Expand Down

0 comments on commit 5d9bf1f

Please sign in to comment.