Defined Dockerfile & updated readme w/ running from docker

This commit is contained in:
2022-10-14 20:41:55 +02:00
parent 9e9624821e
commit 3fce8000df
2 changed files with 37 additions and 7 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM node:18
RUN mkdir -p /opt/figlet-http/src
WORKDIR /opt/figlet-http
COPY src/ src
COPY package.json .
COPY yarn.lock .
RUN yarn
EXPOSE 3000
CMD ["yarn", "start"]