We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee6a977 commit 1d42402Copy full SHA for 1d42402
Dockerfile
@@ -20,14 +20,19 @@ RUN apk --no-cache add \
20
# Setup repo
21
WORKDIR ${GOPATH}/src/code.gitea.io/gitea
22
23
-COPY ./go.mod .
+COPY Makefile .
24
25
-RUN go mod download
+# Download Golang Modules
26
+COPY go.mod .
27
+COPY go.sum .
28
29
+RUN make deps-backend
30
+
31
+# Download NPM Packages
32
COPY package.json .
33
COPY package-lock.json .
34
-RUN npm install --no-save --verbose
35
+RUN make deps-frontend
36
37
COPY . .
38
0 commit comments