Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "app1.py", line 6, in <module>
  3. locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')
  4. File "/usr/local/lib/python3.6/locale.py", line 598, in setlocale
  5. return _setlocale(category, locale)
  6.  
  7. FROM python:3.6
  8. USER root
  9. WORKDIR /app
  10. ADD . /app
  11. RUN apt-get update && apt-get -y install locales
  12. RUN locale-gen en_US.UTF-8
  13. ENV LANG en_US.UTF-8
  14. ENV LANGUAGE en_US:en
  15. ENV LC_ALL en_US.UTF-8
  16. RUN pip install --trusted-host pypi.python.org -r requirements.txt
  17. EXPOSE 8050
  18. ENV NAME World
  19. CMD ["python", "app1.py"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement