From 5dff046ae072b5db11bb2e582cb26f6f246cc439 Mon Sep 17 00:00:00 2001 From: flohoss Date: Tue, 3 Oct 2023 18:24:05 +0000 Subject: [PATCH] Update docker build --- docker/Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 17fdd1f..8e9dc3f 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -12,13 +12,10 @@ COPY . . RUN go build -ldflags="-s -w" cmd/godash/godash.go FROM node:${NODE_VERSION}-alpine AS nodeBuilder +WORKDIR /app -COPY ./package.json . -COPY ./yarn.lock . +COPY ./web . RUN yarn install --frozen-lockfile - -COPY ./web ./web -COPY ./tailwind.config.js . RUN yarn run tailwind:build FROM alpine:${ALPINE_VERSION} AS logo