23 lines
643 B
Docker
23 lines
643 B
Docker
# syntax=docker/dockerfile:1
|
|
FROM cloudron/base:5.0.0
|
|
|
|
LABEL org.opencontainers.image.source="https://github.com/vanila-io/wireflow.git"
|
|
LABEL org.opencontainers.image.description="Cloudron package for Wireflow"
|
|
|
|
ARG APP_VERSION
|
|
ENV APP_VERSION=${APP_VERSION:-latest}
|
|
|
|
# Copy application source into image at build time
|
|
# Replace this with a multi-stage build if upstream provides Docker images.
|
|
COPY ./app /app/code
|
|
|
|
# Copy start script and make it executable
|
|
COPY ./start.sh /app/pkg/start.sh
|
|
RUN chmod +x /app/pkg/start.sh
|
|
|
|
# Cloudron expects all processes to run as cloudron user
|
|
USER cloudron
|
|
WORKDIR /app/code
|
|
|
|
CMD ["/app/pkg/start.sh"]
|