Fix Dockerfile
This commit is contained in:
parent
430a7461e6
commit
7cb1ec1bba
1 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,11 @@
|
||||||
FROM golang:1.22 AS build-stage
|
FROM golang:1.22 AS build-stage
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Copy embeded dirs
|
||||||
|
COPY public public/
|
||||||
|
COPY pages pages/
|
||||||
|
COPY i18n i18n/
|
||||||
|
|
||||||
# Setup and compile Go
|
# Setup and compile Go
|
||||||
COPY go.mod go.sum ./
|
COPY go.mod go.sum ./
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
|
|
Loading…
Reference in a new issue