mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-01-18 18:55:54 +08:00
Fix docker build
This commit is contained in:
parent
e44ba437a4
commit
d1b889456d
@ -8,8 +8,10 @@ FROM alpine:3.17 AS frontend
|
|||||||
# Move to a working directory (/static).
|
# Move to a working directory (/static).
|
||||||
WORKDIR /static
|
WORKDIR /static
|
||||||
|
|
||||||
|
# https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported
|
||||||
|
ENV NODE_OPTIONS=--openssl-legacy-provider
|
||||||
# Install npm (with latest nodejs) and yarn (globally, in silent mode).
|
# Install npm (with latest nodejs) and yarn (globally, in silent mode).
|
||||||
RUN apk add --no-cache npm && \
|
RUN apk add --update nodejs npm && \
|
||||||
npm i -g -s --unsafe-perm yarn
|
npm i -g -s --unsafe-perm yarn
|
||||||
|
|
||||||
# Copy only ./ui folder to the working directory.
|
# Copy only ./ui folder to the working directory.
|
||||||
@ -23,7 +25,7 @@ RUN yarn install && yarn build
|
|||||||
# Building a backend.
|
# Building a backend.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM golang:1.16-alpine AS backend
|
FROM golang:1.18-alpine AS backend
|
||||||
|
|
||||||
# Move to a working directory (/build).
|
# Move to a working directory (/build).
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
"react-dom": "^16.13.1",
|
"react-dom": "^16.13.1",
|
||||||
"react-redux": "7.2.4",
|
"react-redux": "7.2.4",
|
||||||
"react-router-dom": "5.3.0",
|
"react-router-dom": "5.3.0",
|
||||||
"react-scripts": "4.0.3",
|
"react-scripts": "5.0.1",
|
||||||
"react-syntax-highlighter": "15.4.3",
|
"react-syntax-highlighter": "15.4.3",
|
||||||
"react-window": "1.8.6",
|
"react-window": "1.8.6",
|
||||||
"recharts": "2.1.4",
|
"recharts": "2.1.4",
|
||||||
|
Loading…
Reference in New Issue
Block a user