Skip to content

Commit

Permalink
Dockerfile: support for podman
Browse files Browse the repository at this point in the history
podman is not really working smoothly, but this is a prerequisite for
sure
  • Loading branch information
schuellerf committed Apr 11, 2024
1 parent fc6bd00 commit 4b239a9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions distribution/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# syntax=docker/dockerfile:1.7-labs
FROM node:18

WORKDIR /app
Expand All @@ -13,7 +12,12 @@ COPY package*.json .

RUN npm ci

COPY --exclude=node_modules/* . .
# with a first line of
# #syntax=docker/dockerfile:1.7-labs
# we could use
# COPY --exclude=node_modules/* . .
# if also podman would accept that in the future
COPY . .

EXPOSE 8002
EXPOSE 1337
Expand Down

0 comments on commit 4b239a9

Please sign in to comment.