mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2024-11-12 19:37:29 +00:00
Add Docker setup
This commit is contained in:
parent
ac3de4b4e6
commit
1b580ae0b6
16
.dockerignore
Normal file
16
.dockerignore
Normal file
@ -0,0 +1,16 @@
|
||||
# Editor crud files
|
||||
*~
|
||||
\#*#
|
||||
.#*
|
||||
.vscode
|
||||
.idea
|
||||
.git
|
||||
|
||||
# Auto-generated files
|
||||
node_modules
|
||||
|
||||
# User configuration
|
||||
/db
|
||||
/config/config.js
|
||||
|
||||
Dockerfile
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,6 +3,7 @@
|
||||
\#*#
|
||||
.#*
|
||||
.vscode
|
||||
.idea
|
||||
|
||||
# Auto-generated files
|
||||
node_modules
|
||||
|
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
FROM node:14-buster
|
||||
|
||||
WORKDIR /workdir
|
||||
|
||||
COPY package.json ./package.json
|
||||
COPY package-lock.json ./package-lock.json
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 10412
|
||||
|
||||
CMD npm start
|
Loading…
Reference in New Issue
Block a user