File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,18 @@ COPY --link . .
15
15
16
16
FROM node:18-alpine AS runner
17
17
RUN apk --no-cache add curl \
18
- && adduser --disabled-password --home /home/container container
18
+ && adduser --disabled-password --home /home/container container \
19
+ && mkdir /app
19
20
USER container
20
21
ENV USER=container \
21
22
HOME=/home/container \
22
23
NODE_ENV=production \
23
24
HTTP_HOST=0.0.0.0 \
24
25
HTTP_PORT=80
25
26
WORKDIR /home/container
26
- COPY --from=builder --chown=container:container /build ./
27
+ COPY --from=builder --chown=container:container /build /app
27
28
EXPOSE ${HTTP_PORT}/tcp
28
- ENTRYPOINT [ "/home/container /scripts/start.sh" ]
29
+ ENTRYPOINT [ "/app /scripts/start.sh" ]
29
30
HEALTHCHECK --interval=15s --timeout=5s --start-period=60s \
30
31
CMD curl -f http://localhost:${HTTP_PORT}/status || exit 1
31
32
LABEL org.opencontainers.image.source=https://github.com/discord-tickets/bot \
You can’t perform that action at this time.
0 commit comments