Browse Source

Merge pull request #1191 from pelias/use-pelias-user

feat(docker): Run API processes using pelias user
pull/1195/head
Julian Simioni 6 years ago committed by GitHub
parent
commit
1808390e83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Dockerfile

4
Dockerfile

@ -1,11 +1,7 @@
# base image # base image
FROM pelias/baseimage FROM pelias/baseimage
RUN useradd -ms /bin/bash pelias
USER pelias USER pelias
# maintainer information
LABEL maintainer="pelias.team@gmail.com"
# Where the app is built and run inside the docker fs # Where the app is built and run inside the docker fs
ENV WORK=/home/pelias ENV WORK=/home/pelias
WORKDIR ${WORK} WORKDIR ${WORK}

Loading…
Cancel
Save