Update docker build
This commit is contained in:
parent
f7adb14a25
commit
5dff046ae0
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue