Some stuff that works

This commit is contained in:
Benjamin Bach 2023-12-14 12:29:14 +01:00
parent c12add7dfc
commit 266c7b9fff
No known key found for this signature in database
GPG key ID: 486F0D69C845416E
2 changed files with 23 additions and 2 deletions

View file

@ -12,4 +12,9 @@ RUN cd /phanpy && \
npm install && \
npm run build
CMD cp /phanpy/dist /mnt
FROM nginx:alpine
COPY --from=0 /phanpy/dist /usr/share/nginx/html
EXPOSE 80

View file

@ -0,0 +1,16 @@
# Phanpy Docker setup and Drone build
This is an experiment. To build and run locally:
```
docker build . -t phanpy:latest -f Dockerfile_phanpy
```
To run the container:
```
docker run -p 8000:80 -t phanpy:latest
```
Now access Phanpy on http://localhost:8000