add /workspace to PYTHONPATH (must be matched in the CodeOcean constant in docker_client.rb

This commit is contained in:
Ralf Teusner
2015-10-15 15:29:13 +02:00
parent 91cb2a3391
commit 5f76c78411

View File

@ -2,10 +2,11 @@ FROM ubuntu:14.04
MAINTAINER "Martin v. Löwis"
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV PYTHONPATH $PYTHONPATH:/usr/lib/python3.4:/workspace
ENV PATH $PATH:/usr/lib/python3.4
ADD assess.py /usr/lib/python3.4/assess.py
ADD webpython.py /usr/lib/python3.4/webpython.py
RUN rm /usr/lib/python3.4/turtle.py
ADD turtle.py /usr/lib/python3.4/turtle.py
RUN adduser --disabled-password --gecos Python python
USER python
WORKDIR /usr/lib/python3.4
USER python