Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "app1.py", line 6, in <module>
- locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')
- File "/usr/local/lib/python3.6/locale.py", line 598, in setlocale
- return _setlocale(category, locale)
- FROM python:3.6
- USER root
- WORKDIR /app
- ADD . /app
- RUN apt-get update && apt-get -y install locales
- RUN locale-gen en_US.UTF-8
- ENV LANG en_US.UTF-8
- ENV LANGUAGE en_US:en
- ENV LC_ALL en_US.UTF-8
- RUN pip install --trusted-host pypi.python.org -r requirements.txt
- EXPOSE 8050
- ENV NAME World
- CMD ["python", "app1.py"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement