From 1cec20f7896542960fc71727b2839a9dc8a517b2 Mon Sep 17 00:00:00 2001 From: Diego Magdaleno Date: Sat, 8 May 2021 18:07:24 -0500 Subject: [PATCH] Setup: Dockerize the API --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..87bbb5ff --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM node:lts-alpine +RUN mkdir -p /usr/src/fosscord-api +WORKDIR /usr/src/fosscord-api +COPY package.json /usr/src/fosscord-api +RUN npm install +COPY . /usr/src/fosscord-api +CMD ["npm", "start"] \ No newline at end of file