ghostforge/Dockerfile

14 lines
290 B
Docker
Raw Normal View History

FROM python:3.11-alpine
WORKDIR /ghostforge
COPY . .
RUN rm .env
RUN pip install --no-cache-dir --requirement requirements.txt
RUN pip install .
ENV GHOSTFORGE_INTERNAL_WEB_PORT=8080
ENV PYTHONPATH=/ghostforge/ghostforge
EXPOSE ${GHOSTFORGE_INTERNAL_WEB_PORT}
CMD [ "ghostforge_serve" ]