Fix Dockerfile

This commit is contained in:
Andrew-71 2024-05-18 18:43:05 +03:00
parent 430a7461e6
commit 7cb1ec1bba

View file

@ -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