update README.md, switch user in Dockerfile(drop privileges), remove .gitlab-ci.yml
This commit is contained in:
1 parent
d409d0cf93
commit
be51f47da8
3 files changed
+2
-17
No files matched your search
+1
-1
@@ -2,9 +2,9 @@ FROM node:lts-alpine3.12
|
||||
RUN mkdir /data
|
||||
COPY ./ /data
|
||||
WORKDIR /data
|
||||
RUN ls -lash
|
||||
RUN yarn install --production
|
||||
RUN adduser --disabled-password --gecos "" slowdowner
|
||||
RUN chown slowdowner:slowdowner /data
|
||||
USER slowdowner
|
||||
CMD yarn run start
|
||||
EXPOSE 8080
|
||||
Reference in new issue
Block a user