Skip to content

Commit

Permalink
Fixing docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
4lejandrito committed Jan 24, 2025
1 parent 331fe65 commit 3429fda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ FROM node:16-alpine AS compile

WORKDIR /usr/src/app

RUN apk add sudo build-base libpng libpng-dev jpeg-dev pango-dev cairo-dev giflib-dev
RUN apk add sudo build-base libpng libpng-dev jpeg-dev pango-dev cairo-dev giflib-dev openssl1.1-compat
COPY package.json ./
COPY yarn.lock ./
COPY packages/creepyface-site/package.json ./packages/creepyface-site/package.json
COPY packages/creepyface-site/prisma ./packages/creepyface-site/prisma
RUN yarn --frozen-lockfile
COPY lerna.json ./
COPY packages/creepyface-site ./packages/creepyface-site
RUN yarn prisma generate
RUN yarn build
RUN yarn install --production --ignore-scripts --prefer-offline

Expand Down

0 comments on commit 3429fda

Please sign in to comment.