edit dockerfile
This commit is contained in:
parent
bd91ce1572
commit
51dcaf01c8
|
@ -1,7 +1,7 @@
|
||||||
FROM golang:alpine as builder
|
FROM golang:alpine as builder
|
||||||
|
|
||||||
ARG ACCESS_TOKEN_USR="ncaron"
|
ARG ACCESS_TOKEN_USR="nothing"
|
||||||
ARG ACCESS_TOKEN_PWD="d0d6447bec4a397869c583022b982f5dce32ef7b"
|
ARG ACCESS_TOKEN_PWD="nothing"
|
||||||
|
|
||||||
RUN apk add --no-cache ca-certificates tzdata git
|
RUN apk add --no-cache ca-certificates tzdata git
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@ COPY . .
|
||||||
|
|
||||||
RUN go mod download && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /server
|
RUN go mod download && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /server
|
||||||
|
|
||||||
|
# RUN rm -r themes/*
|
||||||
RUN git clone --depth 1 https://git.coopgo.io/coopgo-apps/parcoursmob-default-theme themes/default
|
RUN git clone --depth 1 https://git.coopgo.io/coopgo-apps/parcoursmob-default-theme themes/default
|
||||||
RUN git clone -b spie06 --depth 1 https://git.coopgo.io/coopgo-apps/parcoursmob-default-theme themes/spie06
|
RUN git clone -b spie06 --depth 1 https://git.coopgo.io/coopgo-apps/parcoursmob-default-theme themes/spie06
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue