Skip to content

Commit

Permalink
ci: 👷 fix docker warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Ruck <[email protected]>
  • Loading branch information
Manuel Ruck committed Aug 17, 2024
1 parent e607428 commit 52fb8a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions infra/service.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
ARG NODE_VERSION
ARG NODE_VERSION=18

FROM node:${NODE_VERSION}-alpine AS base
ARG SERVICE
ENV SERVICE ${SERVICE}
ENV SERVICE=${SERVICE}
ARG SERVICE_PATH
ENV SERVICE_PATH ${SERVICE_PATH}
ENV SERVICE_PATH=${SERVICE_PATH}
RUN corepack enable

FROM base AS builder
Expand Down Expand Up @@ -59,4 +59,4 @@ COPY --from=installer_prod /app .

# USER runuser

CMD cd $SERVICE_PATH && npm start
CMD ["sh", "-c", "cd $SERVICE_PATH && npm start"]

0 comments on commit 52fb8a5

Please sign in to comment.