build fixed
This commit is contained in:
@@ -9,7 +9,7 @@ RUN go mod download
|
||||
COPY ./server .
|
||||
RUN go build -o ./app ./main.go
|
||||
|
||||
FROM node:latest as build-stage
|
||||
FROM node:14 as build-stage
|
||||
WORKDIR /app
|
||||
COPY ./ui/package*.json ./
|
||||
RUN npm install
|
||||
@@ -36,4 +36,4 @@ COPY --from=builder /api/app .
|
||||
#COPY dist ./dist
|
||||
COPY --from=build-stage /app/dist ./dist
|
||||
EXPOSE 3000
|
||||
ENTRYPOINT ["./app"]
|
||||
ENTRYPOINT ["./app"]
|
||||
|
||||
Reference in New Issue
Block a user