Update docker build

This commit is contained in:
Florian Hoss 2023-10-03 18:24:05 +00:00
parent f7adb14a25
commit 5dff046ae0

View file

@ -12,13 +12,10 @@ COPY . .
RUN go build -ldflags="-s -w" cmd/godash/godash.go RUN go build -ldflags="-s -w" cmd/godash/godash.go
FROM node:${NODE_VERSION}-alpine AS nodeBuilder FROM node:${NODE_VERSION}-alpine AS nodeBuilder
WORKDIR /app
COPY ./package.json . COPY ./web .
COPY ./yarn.lock .
RUN yarn install --frozen-lockfile RUN yarn install --frozen-lockfile
COPY ./web ./web
COPY ./tailwind.config.js .
RUN yarn run tailwind:build RUN yarn run tailwind:build
FROM alpine:${ALPINE_VERSION} AS logo FROM alpine:${ALPINE_VERSION} AS logo