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