diff --git a/Dockerfile b/Dockerfile index 8da0ce1..6764d5a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,18 +2,10 @@ FROM node:lts-alpine LABEL org.opencontainers.image.source = "https://github.com/shipgirlproject/Formidable" -RUN addgroup -g 900 formidable && \ - adduser -S -u 900 -G formidable formidable +WORKDIR /home/node/app -WORKDIR /home/formidable - -COPY . /home/formidable - -RUN mkdir -p /home/formidable && \ - chown -R formidable:formidable /home/formidable - -USER formidable +COPY . . RUN npm install -ENTRYPOINT ["npm", "run", "dev"] \ No newline at end of file +ENTRYPOINT ["npm", "start"] \ No newline at end of file