Skip to content

Reduce docker image size and fix release GitHub action #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 26, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove unnecessary build dependencies
Signed-off-by: Nicko Guyer <[email protected]>
  • Loading branch information
nguyer committed Apr 26, 2022
commit 3f0286be47b7003a7309d9a20b025f55ae0f37b2
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
FROM node:16-alpine3.15 as firefly-dataexchange-builder
RUN apk add --update python3 make
ADD . /firefly-dataexchange-https
WORKDIR /firefly-dataexchange-https
RUN npm install
Expand All @@ -11,7 +10,6 @@ COPY --from=firefly-dataexchange-builder /firefly-dataexchange-https/package.jso
COPY --from=firefly-dataexchange-builder /firefly-dataexchange-https/build /firefly-dataexchange-https/build
COPY --from=firefly-dataexchange-builder /firefly-dataexchange-https/package*.json ./
RUN npm install --production

EXPOSE 3000
EXPOSE 3001
CMD [ "node", "./build/index.js" ]