Skip to content

Commit

Permalink
Also the Dockerfile needed improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
CerealBoy committed Jul 6, 2024
1 parent c2cdc28 commit 36dec9d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
FROM node:slim AS fe
WORKDIR /app
COPY *.j* index.html yarn.lock ./
COPY *.j* index.html yarn.lock .yarnrc.yml ./
COPY src ./src/
RUN yarn && NODE_OPTIONS=--openssl-legacy-provider yarn build
COPY .yarn ./.yarn/
RUN corepack enable && \
yarn set version 4.3.1 && \
yarn install && \
yarn build

FROM golang:alpine AS be
WORKDIR /ep
Expand Down

0 comments on commit 36dec9d

Please sign in to comment.