Fuck so much to comment on

Renamed the folders and containers to something more reasonable
Using .env file for secretes so I can better hide them from git
Mostly it, I think
This commit is contained in:
Michał Gdula 2023-06-09 22:27:30 +03:00
parent a29f06dfee
commit a4ebfa8552
61 changed files with 84 additions and 111 deletions

View file

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