This commit is contained in:
Miki 2024-01-11 12:15:12 +00:00
parent aebbdccd03
commit e4ac456c11
2 changed files with 16 additions and 0 deletions

11
docker/Dockerfile Normal file
View file

@ -0,0 +1,11 @@
FROM alpine
LABEL maintainer="mikif70@gmail.com"
COPY ./static /app/static
COPY ./backend /app
WORKDIR /app
EXPOSE 8080
CMD ["/app/backend"]

5
docker/build.sh Normal file
View file

@ -0,0 +1,5 @@
#!/bin/bash
docker build -t mikif70/topscorer -f ./Dockerfile ../backend/
docker save -o topscorer.tar mikif70/topscorer