running out of ideas what to do
This commit is contained in:
@@ -11,6 +11,7 @@ RUN pip3 install --no-cache-dir -r requirements.txt
|
|||||||
COPY . /usr/src/app
|
COPY . /usr/src/app
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
EXPOSE 80
|
||||||
|
|
||||||
ENTRYPOINT ["python3"]
|
ENTRYPOINT ["python3"]
|
||||||
|
|
||||||
|
|||||||
@@ -6,14 +6,17 @@ services:
|
|||||||
image: flask-server
|
image: flask-server
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
|
- 80:80
|
||||||
volumes: # when pushing to server, remove the first dot here in front of /mnt
|
volumes: # when pushing to server, remove the first dot here in front of /mnt
|
||||||
- /mnt/ssd/ds_ftp/classla_OS2022:/usr/src/app/classla_OS2022
|
- /mnt/ssd/ds_ftp/classla_OS2022:/usr/src/app/classla_OS2022
|
||||||
- ./swagger_server/classla/classla_resources:/root/classla_resources
|
- ./swagger_server/classla/classla_resources:/root/classla_resources
|
||||||
environment:
|
environment:
|
||||||
- PYTHONUNBUFFERED=1
|
- PYTHONUNBUFFERED=1
|
||||||
|
network_mode: host
|
||||||
tika2:
|
tika2:
|
||||||
image: apache/tika:1.28.4-full
|
image: apache/tika:1.28.4-full
|
||||||
entrypoint: [ "/bin/sh", "-c", "java -jar /tika-server-1.28.4.jar -h 0.0.0.0 -p 9999" ]
|
entrypoint: [ "/bin/sh", "-c", "java -jar /tika-server-1.28.4.jar -h 0.0.0.0 -p 9999" ]
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 9999:9999
|
- 9999:9999
|
||||||
|
network_mode: host
|
||||||
|
|||||||
Reference in New Issue
Block a user