Skip to content

Commit

Permalink
add datapunt user & chown
Browse files Browse the repository at this point in the history
  • Loading branch information
lennardstam committed Sep 2, 2024
1 parent 071b5e8 commit ebe8974
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ RUN rm /etc/apache2/mods-enabled/alias.conf
COPY docker/000-default.conf /etc/apache2/sites-available/
COPY docker/docker-entrypoint.sh /bin

COPY . /srv/mapserver/
RUN useradd -M -U datapunt
COPY . /srv/mapserver/ && chown -R datapunt:datapunt /srv/
RUN rm -rf /srv/mapserver/private
COPY epsg /usr/share/proj

EXPOSE 80

USER datapunt
CMD /bin/docker-entrypoint.sh

0 comments on commit ebe8974

Please sign in to comment.