update README.md, switch user in Dockerfile(drop privileges), remove .gitlab-ci.yml

This commit is contained in:
felixh committed 2020-11-23 18:14:41 +00:00
1 parent d409d0cf93
commit be51f47da8
3 files changed
+2 -17

No files matched your search

+1 -1
View File
@@ -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