mirror of
https://github.com/DarrylNixon/ghostforge
synced 2024-04-22 06:27:20 -07:00
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.
This commit is contained in:
parent
25ca052ec1
commit
3cc1dfcd14
7 changed files with 67 additions and 12 deletions
14
Dockerfile
Normal file
14
Dockerfile
Normal file
|
@ -0,0 +1,14 @@
|
|||
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" ]
|
Loading…
Add table
Add a link
Reference in a new issue