init
This commit is contained in:
commit
6f427d4a22
20 changed files with 5508 additions and 0 deletions
17
Dockerfile
Normal file
17
Dockerfile
Normal file
|
@ -0,0 +1,17 @@
|
|||
FROM node:16
|
||||
|
||||
# Create app dir
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# Install dependencies
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
|
||||
# Package app source
|
||||
COPY . .
|
||||
|
||||
# Defaults
|
||||
ENV EBPORT=3000
|
||||
ENV EBPASS=changeme
|
||||
|
||||
CMD node db.js; npm start
|
Loading…
Add table
Add a link
Reference in a new issue