We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 036cbaf commit 3bca48fCopy full SHA for 3bca48f
Dockerfile
@@ -17,6 +17,7 @@ FROM node:18-alpine AS runner
17
RUN apk --no-cache add curl \
18
&& adduser --disabled-password --home /home/container container \
19
&& mkdir /app \
20
+ && chown container:container /app \
21
&& chmod -R 777 /app
22
USER container
23
ENV USER=container \
@@ -26,7 +27,7 @@ ENV USER=container \
26
27
HTTP_PORT=80 \
28
DOCKER=true
29
WORKDIR /home/container
-COPY --from=builder --chown=container:container /build /app
30
+COPY --from=builder /build /app
31
EXPOSE ${HTTP_PORT}/tcp
32
ENTRYPOINT [ "/app/scripts/start.sh" ]
33
HEALTHCHECK --interval=15s --timeout=5s --start-period=60s \
0 commit comments