Skip to content

Commit

Permalink
feat: react-18 working version 🔥
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorezz committed Jun 28, 2024
1 parent f747ff2 commit 7b17de0
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 35,176 deletions.
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,22 @@
FROM node:20-alpine3.19 as build-stage
WORKDIR /app

COPY package*.json ./
RUN npm install
RUN rm -fr node_modules

COPY package*.json ./
COPY . .

RUN apk update && apk add go go-doc
RUN mkdir -p $(go env GOROOT)/misc/wasm
RUN cp /usr/share/doc/go/misc/wasm/wasm_exec.js $(go env GOROOT)/misc/wasm/wasm_exec.js

RUN npm run build
# RUN npm install
RUN yarn config set cache-folder .yarn
RUN yarn install
RUN yarn build
# RUN npm run build
EXPOSE 8080
CMD ["npm", "run", "dev"]
CMD ["yarn", "dev"]

#FROM nginx:alpine
#WORKDIR /app
Expand Down
Loading

0 comments on commit 7b17de0

Please sign in to comment.