Updated the Dockerfile.
This commit is contained in:
@@ -7,7 +7,12 @@ RUN rm -rf /var/cache/apk/*
|
||||
|
||||
WORKDIR /app
|
||||
COPY app.py /app/app.py
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
ENV LISTEN_ADDRESS=0.0.0.0
|
||||
ENV LISTEN_PORT=8080
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["gunicorn", "--bind", "0.0.0.0:8080", "app:app"]
|
||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||
|
||||
Reference in New Issue
Block a user