Add docker files for expo page

This commit is contained in:
Michał Gdula 2023-05-15 13:41:45 +03:00
parent 578b0e728b
commit 77c0711a24
11 changed files with 76 additions and 522 deletions

16
DV8-Expo/Dockerfile Normal file
View file

@ -0,0 +1,16 @@
# syntax=docker/dockerfile:1
FROM alpine:latest
EXPOSE 5000
RUN apk update && apk add python3 py3-pip
WORKDIR /data
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
RUN mkdir /storage
COPY ./website ./website
COPY ./run.sh ./run.sh
RUN chmod +x ./run.sh
CMD ["./run.sh"]