From 78d2cb8ac85f51e9b2c7f23aa8a750a0bc6dca63 Mon Sep 17 00:00:00 2001 From: Arnav <158455815+rarnavneo@users.noreply.github.com> Date: Fri, 1 Mar 2024 23:43:27 +0530 Subject: [PATCH] feat/docker-integration --- url-shortener/servers/express-js/Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 url-shortener/servers/express-js/Dockerfile diff --git a/url-shortener/servers/express-js/Dockerfile b/url-shortener/servers/express-js/Dockerfile new file mode 100644 index 0000000..528bc01 --- /dev/null +++ b/url-shortener/servers/express-js/Dockerfile @@ -0,0 +1,13 @@ +# TODO: error building; possible: node version +FROM node:21-alpine +LABEL authors="arnavrneo" + +WORKDIR /app + +COPY package*.json ./ + +RUN npm install + +EXPOSE 5678 + +CMD [ "node", "index.js" ] \ No newline at end of file