Fix Dockerfile
This commit is contained in:
parent
a0bb9ef131
commit
6117c6b59e
|
@ -22,6 +22,7 @@ RUN mkdir /app/data
|
||||||
|
|
||||||
# Copy snow binary and configuration files
|
# Copy snow binary and configuration files
|
||||||
COPY --from=builder /snow /app/snow
|
COPY --from=builder /snow /app/snow
|
||||||
|
COPY --from=builder /app/data /app/data
|
||||||
|
|
||||||
# Setup user
|
# Setup user
|
||||||
RUN adduser -D -h /app snow && \
|
RUN adduser -D -h /app snow && \
|
||||||
|
@ -30,4 +31,4 @@ RUN adduser -D -h /app snow && \
|
||||||
USER snow
|
USER snow
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
ENTRYPOINT ["/app/snow"]
|
ENTRYPOINT ["/app/snow"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user