Fix build process
This commit is contained in:
parent
16b2f17301
commit
28f068c890
2 changed files with 4 additions and 4 deletions
|
@ -14,7 +14,7 @@ RUN go mod download
|
|||
|
||||
COPY . .
|
||||
RUN ./swagger.sh init
|
||||
RUN go build -ldflags="-s -w"
|
||||
RUN go build -ldflags="-s -w" cmd/cafe-plaetschwiesle/cafe-plaetschwiesle.go
|
||||
|
||||
FROM node:${NODE_VERSION}-alpine AS nodeBuilder
|
||||
WORKDIR /app
|
||||
|
@ -40,7 +40,7 @@ COPY ./scripts/entrypoint.sh .
|
|||
|
||||
COPY --from=logo /logo.txt .
|
||||
COPY --from=nodeBuilder /app/dist/ ./templates/
|
||||
COPY --from=goBuilder /app/cafe .
|
||||
COPY --from=goBuilder /app/cafe-plaetschwiesle .
|
||||
COPY config.toml .
|
||||
|
||||
ARG VERSION
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue