rename images

This commit is contained in:
_Bastler
2022-02-26 11:19:48 +01:00
parent 0e1dff6a11
commit 36a4b140ba
4 changed files with 16 additions and 17 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
# typescript build
FROM node:14.15.4-buster-slim@sha256:cbae886186467bbfd274b82a234a1cdfbbd31201c2a6ee63a6893eefcf3c6e76 as builder2
FROM node:14.15.4-buster-slim@sha256:cbae886186467bbfd274b82a234a1cdfbbd31201c2a6ee63a6893eefcf3c6e76 as builder
WORKDIR /usr/src
COPY uploader/yarn.lock uploader/package.json ./
RUN yarn install
@@ -13,7 +13,7 @@ WORKDIR /usr/src
COPY uploader/yarn.lock uploader/package.json ./
ENV NODE_ENV=production
RUN yarn install --production
COPY --from=builder2 /usr/src/dist /usr/src/dist
COPY --from=builder /usr/src/dist /usr/src/dist
USER node
CMD ["yarn", "run", "runprod"]