Skip to content

Commit

Permalink
chore: fix docker release
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Feb 3, 2023
1 parent 74c9322 commit 3324a0f
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# # STEP 1 build ui
# FROM --platform=$BUILDPLATFORM node:18-alpine as node
# STEP 1 build ui
FROM --platform=$BUILDPLATFORM node:18-alpine as node

# RUN apk update && apk add --no-cache make alpine-sdk
RUN apk update && apk add --no-cache make alpine-sdk

# WORKDIR /build
WORKDIR /build

# # install node tools
# COPY package*.json ./
# RUN npm ci
# install node tools
COPY package*.json ./
RUN npm ci

# # build ui
# COPY Makefile .
# COPY assets assets
# COPY vite.config.js vite.config.js
# COPY .eslintrc.js .eslintrc.js
# COPY postcss.config.js postcss.config.js
# build ui
COPY Makefile .
COPY .*.js .
COPY *.js .
COPY assets assets
COPY i18n i18n

# RUN make clean ui
RUN make ui


# STEP 2 build executable binary
Expand Down Expand Up @@ -48,7 +48,7 @@ RUN make patch-asn1
RUN make assets

# copy ui
# COPY --from=node /build/dist /build/dist
COPY --from=node /build/dist /build/dist

# build
ARG TARGETOS
Expand Down

0 comments on commit 3324a0f

Please sign in to comment.