This commit is contained in:
parent
9e182c4b94
commit
65bedd6356
|
@ -14,4 +14,5 @@ COPY ./requirements.txt .
|
|||
RUN pip install -r requirements.txt
|
||||
|
||||
# copy project
|
||||
COPY . .
|
||||
COPY . .
|
||||
ENTRYPOINT ["/usr/src/app/entrypoint.sh"]
|
|
@ -4,12 +4,7 @@ services:
|
|||
web:
|
||||
build: .
|
||||
command: python main.py
|
||||
volumes:
|
||||
- mailsend_server:/usr/src/app/
|
||||
ports:
|
||||
- 8081:8081
|
||||
env_file:
|
||||
- ./config.ini
|
||||
|
||||
volumes:
|
||||
mailsend_server:
|
2
entrypoint.sh
Executable file
2
entrypoint.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
python main.py
|
Loading…
Reference in New Issue
Block a user