Compare commits
4 Commits
3f0f4ab959
...
6755f1ddf9
Author | SHA1 | Date | |
---|---|---|---|
6755f1ddf9 | |||
cf6a303e56 | |||
c6b3bc7662 | |||
cf4047a298 |
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@ -0,0 +1,12 @@
|
||||
FROM python:3
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY game_collection/requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY game_collection .
|
||||
|
||||
EXPOSE 3004
|
||||
|
||||
CMD [ "flask", "run", "--host=0.0.0.0", "--port=3004" ]
|
10
docker-compose.yml
Normal file
10
docker-compose.yml
Normal file
@ -0,0 +1,10 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
ports:
|
||||
- "3004:3004"
|
||||
volumes:
|
||||
- /home/manuel/docker/MikaApp/instance:/usr/src/app/instance
|
||||
command: ["./start.sh"]
|
Loading…
Reference in New Issue
Block a user