From 9ce9e3b2473d012f270561e1c7bfae6655d9866a Mon Sep 17 00:00:00 2001 From: Eddie Jaoude Date: Sun, 30 Jun 2024 20:59:00 +0100 Subject: [PATCH] feat: docker file --- Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000000..421bbd09e37 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +ARG NODE_VERSION=20 + +FROM node:${NODE_VERSION} +LABEL org.opencontainers.image.source https://github.com/eddiehubcommunity/biodrop + +WORKDIR /usr/src/app + +COPY . . + +RUN npm ci + +EXPOSE 3000 + +CMD npm run build && npm run start