mirror of
https://github.com/DarrylNixon/ghostforge
synced 2024-04-22 06:27:20 -07:00
Darryl Nixon
3cc1dfcd14
students to try, review, and give feedback. Also, maybe it'll make actual development easier.
14 lines
No EOL
290 B
Docker
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" ] |