File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM --platform=$BUILDPLATFORM node:20-alpine as JSBUILD
2- COPY package.json package-lock.json rollup.config.js ./
2+ COPY package.json package-lock.json rollup.config.js rollup-serviceworker.config.js ./
33RUN npm ci
44COPY resources/js resources/js
55RUN npm run build
@@ -19,14 +19,14 @@ RUN apk add --no-cache \
1919# Force the go compiler to use modules
2020ENV GO111MODULE=on
2121ENV GOOS=linux
22- # Create the user and group files to run unprivileged
22+ # Create the user and group files to run unprivileged
2323RUN mkdir /user && \
2424 echo 'mokintoken:x:65534:65534:mokintoken:/:' > /user/passwd && \
2525 echo 'mokintoken:x:65534:' > /user/group
2626
2727RUN apk update && apk add --no-cache git ca-certificates tzdata gcc g++ openssh-client
2828
29- RUN mkdir /build
29+ RUN mkdir /build
3030WORKDIR /build
3131
3232COPY go.mod go.sum ./
@@ -65,4 +65,4 @@ ENV DARKNET "http://mokinan4qvxi4ragyzgkewrmnnqslkcdglk6v5zruknwnnuvv2lu5uad.oni
6565ENTRYPOINT ["/app/mokintoken" ]
6666VOLUME /app/database/mokintoken.sqlite
6767
68- HEALTHCHECK --interval=30s --timeout=1s --start-period=5s --retries=3 CMD [ "/app/healthcheckCommand" ]
68+ HEALTHCHECK --interval=30s --timeout=1s --start-period=5s --retries=3 CMD [ "/app/healthcheckCommand" ]
You can’t perform that action at this time.
0 commit comments