ghostforge/Dockerfile
Darryl Nixon 3cc1dfcd14 We'll deploy with docker because it's easier for
students to try, review, and give feedback.
Also, maybe it'll make actual development easier.
2023-05-23 12:07:25 -07:00

14 lines
No EOL
290 B
Docker

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" ]