Fix container startup with mounted config
This commit is contained in:
+2
-3
@@ -18,11 +18,10 @@ WORKDIR /app
|
||||
# Copy binary and static front-end assets
|
||||
COPY --from=builder /app/server /app/server
|
||||
COPY --from=builder /app/public /app/public
|
||||
COPY --from=builder /app/config /app/config.default
|
||||
COPY start.sh /app/start.sh
|
||||
|
||||
RUN chmod +x /app/start.sh
|
||||
RUN mkdir -p /app/config && chmod +x /app/start.sh
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
ENTRYPOINT ["/app/start.sh"]
|
||||
ENTRYPOINT ["/bin/sh", "/app/start.sh"]
|
||||
|
||||
Reference in New Issue
Block a user