Added Docker and License

This commit is contained in:
Justine Pelletreau
2023-07-03 17:38:06 +02:00
parent e49efa4b64
commit 4716754aec
9 changed files with 49 additions and 3 deletions

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM debian:stable-slim
WORKDIR /opt
COPY --chown=root --chmod=0755 sqpad /opt/sqpad
RUN mkdir -p -m 0755 /opt/Files
RUN touch /opt/Files/posts.json
COPY --chown=root --chmod=0755 Files/* /opt/Files/
EXPOSE 8080
CMD ["/opt/sqpad"]