CoolFace
Apppublic

okosaner/Inception

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
dockerfile21 linesDownload Raw Back to root
1# Use the official INCEpTION image as the base2FROM inceptionproject/inception:latest3 4# Hugging Face Spaces route traffic to port 78605ENV SERVER_PORT=78606EXPOSE 78607 8# INCEpTION stores its database and files in the /export directory.9# Hugging Face runs containers as a non-root user (UID 1000). 10# We must create this directory and give the user permission to read/write.11USER root12RUN mkdir -p /export && chown -R 1000:1000 /export13 14# Switch back to the Hugging Face default user15USER 100016 17# Tell INCEpTION to use our newly permissioned directory18ENV INCEPTION_HOME=/export19 20# The base image already has an ENTRYPOINT/CMD to start the Spring Boot app,21# so we do not need to add one here.