diff options
-rw-r--r-- | Dockerfile | 4 | ||||
-rw-r--r-- | docker-compose.yml | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -5,8 +5,8 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN apt-get update -y RUN apt-get install -y python3-pip COPY . /app -RUN touch .docker +RUN touch /.docker && touch /app/.docker WORKDIR /app RUN pip3 install -r requirements.txt ENTRYPOINT ["python3"] -CMD ["src/app.py", "--production"]
\ No newline at end of file +CMD ["src/app.py", "--production"] diff --git a/docker-compose.yml b/docker-compose.yml index dad3c33..574ae2f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,13 +5,13 @@ services: build: context: . dockerfile: Dockerfile - image: jwansek/paygap + image: r.vm.gl/paygap ports: - "5006:5006" networks: - db-network external_links: - - mariadb:mysql + - mariadb:db restart: unless-stopped env_file: - db.env @@ -19,4 +19,4 @@ services: networks: db-network: external: - name: mariadb
\ No newline at end of file + name: mariadb |