Skip to content

Commit

Permalink
try this one
Browse files Browse the repository at this point in the history
  • Loading branch information
hanapotski committed Oct 24, 2024
1 parent bec8392 commit 6f81b1f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
FROM node:lts-bullseye-slim as clientBuilder

ENV NODE_ENV "production"
ENV NODE_OPTIONS=--openssl-legacy-provider

RUN mkdir /app
WORKDIR /app
COPY client/package.json .
COPY client/package-lock.json .
RUN npm ci --legacy-peer-deps
RUN npm ci
COPY client .

ENV NODE_ENV "production"
RUN npm run build
RUN echo package.json

Expand Down

0 comments on commit 6f81b1f

Please sign in to comment.