edit dockerfile

This commit is contained in:
Nicolas CARON 2023-08-07 10:56:16 +02:00
parent bd91ce1572
commit 51dcaf01c8
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
FROM golang:alpine as builder
ARG ACCESS_TOKEN_USR="ncaron"
ARG ACCESS_TOKEN_PWD="d0d6447bec4a397869c583022b982f5dce32ef7b"
ARG ACCESS_TOKEN_USR="nothing"
ARG ACCESS_TOKEN_PWD="nothing"
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 rm -r themes/*
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