remove run.sh from Dockerfile
This commit is contained in:
parent
093054222e
commit
3622b62246
@ -1,7 +1,7 @@
|
|||||||
FROM python:3.5
|
FROM python:3.5
|
||||||
RUN apt-get -y update && apt-get -y upgrade
|
RUN apt-get -y update && apt-get -y upgrade
|
||||||
|
|
||||||
RUN apt-get install -y libpq-dev
|
RUN apt-get install -y libpq-dev supervisor
|
||||||
## BUILD JS STUFF
|
## BUILD JS STUFF
|
||||||
RUN cd /tmp
|
RUN cd /tmp
|
||||||
RUN wget https://nodejs.org/dist/v4.5.0/node-v4.5.0-linux-x64.tar.xz
|
RUN wget https://nodejs.org/dist/v4.5.0/node-v4.5.0-linux-x64.tar.xz
|
||||||
@ -28,10 +28,6 @@ RUN rm -fr /tmp/node-v4.5.0-linux-x64/
|
|||||||
RUN rm -fr /app/bower_components
|
RUN rm -fr /app/bower_components
|
||||||
RUN rm -fr /app/node_modules
|
RUN rm -fr /app/node_modules
|
||||||
|
|
||||||
ADD docker/run.sh /usr/local/bin/run
|
|
||||||
|
|
||||||
RUN apt-get -y install supervisor
|
|
||||||
|
|
||||||
RUN mkdir /data && chown openslides /data
|
RUN mkdir /data && chown openslides /data
|
||||||
USER openslides
|
USER openslides
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
Loading…
Reference in New Issue
Block a user