fix: docker
This commit is contained in:
parent
f0333f1ff0
commit
11bb7195d0
@ -4,14 +4,14 @@ WORKDIR /app
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN chmod +x ./translate-en.sh && ./translate-en.sh
|
RUN chmod +x ./translate-en.sh && ./translate-en.sh
|
||||||
|
|
||||||
FROM oven/bun:latest as builder
|
FROM node:18 as builder
|
||||||
|
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
COPY ./web/package*.json ./web/bun.lockb ./
|
COPY ./web/package.json ./
|
||||||
RUN bun i
|
RUN npm i
|
||||||
COPY --from=translator ./app/web .
|
COPY --from=translator ./app/web .
|
||||||
COPY ./VERSION .
|
COPY ./VERSION .
|
||||||
RUN REACT_APP_VERSION=$(cat VERSION) bun run build
|
RUN REACT_APP_VERSION=$(cat VERSION) npm run build
|
||||||
|
|
||||||
FROM golang AS builder2
|
FROM golang AS builder2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user