FROM f0rc3/gokapi:latest COPY entrypoint.sh /app/entrypoint.sh RUN chmod +x /app/entrypoint.sh ENV GOKAPI_PORT=7860 ENV GOKAPI_CONFIG_DIR=/app/config ENV GOKAPI_DATA_DIR=/app/data EXPOSE 7860 ENTRYPOINT ["/app/entrypoint.sh"]