Skip to content

Commit 86a64f2

Browse files
authored
include new service-worker rollup to docker
1 parent 78903df commit 86a64f2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM --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./
33
RUN npm ci
44
COPY resources/js resources/js
55
RUN npm run build
@@ -19,14 +19,14 @@ RUN apk add --no-cache \
1919
# Force the go compiler to use modules
2020
ENV GO111MODULE=on
2121
ENV GOOS=linux
22-
# Create the user and group files to run unprivileged
22+
# Create the user and group files to run unprivileged
2323
RUN mkdir /user && \
2424
echo 'mokintoken:x:65534:65534:mokintoken:/:' > /user/passwd && \
2525
echo 'mokintoken:x:65534:' > /user/group
2626

2727
RUN apk update && apk add --no-cache git ca-certificates tzdata gcc g++ openssh-client
2828

29-
RUN mkdir /build
29+
RUN mkdir /build
3030
WORKDIR /build
3131

3232
COPY go.mod go.sum ./
@@ -65,4 +65,4 @@ ENV DARKNET "http://mokinan4qvxi4ragyzgkewrmnnqslkcdglk6v5zruknwnnuvv2lu5uad.oni
6565
ENTRYPOINT ["/app/mokintoken"]
6666
VOLUME /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" ]

0 commit comments

Comments
 (0)