Skip to content

Commit 68a4a6a

Browse files
committed
fix build ep2
1 parent c68b2c2 commit 68a4a6a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# backend build
2-
FROM golang:1.23 as builderGo
2+
FROM golang:1.23 AS builder_go
33

44
USER root
55
WORKDIR /csgo-2d-demo-player
@@ -16,7 +16,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build \
1616
main.go
1717

1818
# web build
19-
FROM node:lts-slim as builderNpm
19+
FROM node:lts-slim AS builder_npm
2020

2121
USER root
2222

@@ -26,6 +26,8 @@ COPY web/package.json .
2626
COPY web/package-lock.json .
2727
RUN npm install
2828

29+
COPY web/index.html .
30+
COPY web/vite.config.js .
2931
COPY web/.env.production .
3032
COPY web/public public
3133
COPY web/src src

0 commit comments

Comments
 (0)