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

26 lines
532 B

FROM node:14.17
MAINTAINER operations@openproject.com
ARG DEV_UID=1000
ARG DEV_GID=1001
ENV USER=node
RUN apt-get update && apt-get install -y chromium
RUN npm i -g npm
RUN groupadd $USER || true
RUN groupmod -g $DEV_GID $USER || true
RUN usermod -u $DEV_UID -d /home/dev $USER || true
EXPOSE 4200
RUN mkdir -p /home/dev/openproject/public/assets/frontend
RUN chown $USER:$USER -R /home/dev
VOLUME ["/home/dev/openproject", "/home/dev/openproject/public/assets/frontend"]
WORKDIR /home/dev/openproject/frontend
USER $USER