Dockerfile: add missing files

This commit is contained in:
liushuyu 2020-05-02 00:36:36 -06:00
parent 1482e6741b
commit 3d3e466aab

View File

@ -16,7 +16,8 @@ WORKDIR /usr/src/app
# Copy artifacts # Copy artifacts
COPY --from=0 /usr/src/app/dist/ ./ COPY --from=0 /usr/src/app/dist/ ./
COPY --from=0 /usr/src/app/node_modules ./node_modules COPY --from=0 /usr/src/app/node_modules ./node_modules
COPY env.json ./ COPY env.json src/responses.json ./
COPY src/responses ./responses/
RUN addgroup -S app -g 50000 && \ RUN addgroup -S app -g 50000 && \
adduser -S -g app -u 50000 app && \ adduser -S -g app -u 50000 app && \