Commit a246b925 authored by Cassidy Thompson's avatar Cassidy Thompson

moved chown modules command to proper place (was trying to change ownership of…

moved chown modules command to proper place (was trying to change ownership of directory before user creation)
parent f01d2baa
......@@ -16,7 +16,6 @@ RUN apacman -S python python-pip nginx uwsgi uwsgi-plugin-python npm --noconfirm
# Install platypus platform in /opt/education_platform
RUN cd /opt && git clone https://biof-git.colorado.edu/hackathon/platypus.git
RUN chown -R platypus /opt/platypus/modules
RUN pip install -r /opt/platypus/requirements.txt
# Configure nginx and uwsgi services
......@@ -31,6 +30,7 @@ RUN useradd platypus
RUN echo -e " \n " | passwd platypus
RUN mkdir /home/platypus
RUN chown -R platypus /home/platypus
RUN chown -R platypus /opt/platypus/modules
RUN chown platypus /var/log/uwsgi/platypus.log
# Install xterm.js node application
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment