OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/docker/dev/frontend/Dockerfile

23 lines
498 B

FROM node:10.15
MAINTAINER operations@openproject.com
ARG DEV_UID=1000
ARG DEV_GID=1001
ENV USER=dev
RUN usermod -l $USER -d /home/$USER -m node
RUN usermod -u $DEV_UID $USER
RUN groupadd $USER
RUN groupmod -g $DEV_GID $USER
EXPOSE 4200
RUN mkdir -p /home/$USER/openproject/public/assets/frontend
RUN chown $USER:$USER -R /home/$USER/openproject/public
VOLUME ["/home/$USER/openproject", "/home/$USER/openproject/public/assets/frontend"]
WORKDIR /home/$USER/openproject/frontend
USER $USER