Skip to content

Commit 1753eb5

Browse files
committed
feat(docker): Run API processes using pelias user
This is enabled by the work in pelias/docker-baseimage#2 and lets us ensure the API is run as a non-root user. Additionally the maintainer label is now set in the baseimage as of (pelias/docker-baseimage#8), so it can be removed here.
1 parent 66fb60c commit 1753eb5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Dockerfile

-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
# base image
22
FROM pelias/baseimage
3-
RUN useradd -ms /bin/bash pelias
43
USER pelias
54

6-
# maintainer information
7-
LABEL maintainer="[email protected]"
8-
95
# Where the app is built and run inside the docker fs
106
ENV WORK=/home/pelias
117
WORKDIR ${WORK}

0 commit comments

Comments
 (0)