Fixed pythonpath in wls dockerfile

This commit is contained in:
Alberto Soutullo
2023-03-09 16:45:17 +01:00
committed by Alberto Soutullo Rendo
parent 1ae60e8395
commit fcd814d8e8

View File

@@ -25,5 +25,7 @@ COPY . .
# Deploy the virtualenv in production image
ENV PATH="/opt/venv/bin:$PATH"
ENV PYTHONPATH "${PYTHONPATH}:/wls/src/"
# Set the entrypoint
ENTRYPOINT ["python", "wls.py"]
ENTRYPOINT ["python", "src/wls.py"]