mirror of
https://github.com/NotAShelf/catApi.git
synced 2025-10-02 15:03:44 +00:00
everyone likes docker
This commit is contained in:
parent
e9eef1bb83
commit
73488b70e9
3 changed files with 38 additions and 0 deletions
10
Dockerfile
Normal file
10
Dockerfile
Normal file
|
@ -0,0 +1,10 @@
|
|||
FROM node:17
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /opt/catApi
|
||||
# and copy files into that directory
|
||||
COPY . ./
|
||||
|
||||
RUN npm install -g npm@8 && npm install --save-dev
|
||||
|
||||
CMD npm start
|
Loading…
Add table
Add a link
Reference in a new issue