+docker
This commit is contained in:
parent
aebbdccd03
commit
e4ac456c11
2 changed files with 16 additions and 0 deletions
11
docker/Dockerfile
Normal file
11
docker/Dockerfile
Normal 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
5
docker/build.sh
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
docker build -t mikif70/topscorer -f ./Dockerfile ../backend/
|
||||||
|
|
||||||
|
docker save -o topscorer.tar mikif70/topscorer
|
Loading…
Add table
Add a link
Reference in a new issue