Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Karel Blavka <[email protected]>
  • Loading branch information
blavka committed Jul 22, 2024
1 parent 8e3c45d commit afe5807
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:20-slim AS base

ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
RUN corepack enable pnpm && pnpm -v

WORKDIR /app

Expand All @@ -14,7 +14,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --frozen-l
FROM base
COPY --from=prod-deps /app/node_modules /app/node_modules
COPY ./src ./src
COPY ./decoder.yaml ./decoder.yaml
COPY ./config ./config

EXPOSE 5000/udp

Expand Down

0 comments on commit afe5807

Please sign in to comment.