📝 Added sandbox (code sketchbook)
This commit is contained in:
parent
b475595f7f
commit
b5daf18b1a
142 changed files with 100702 additions and 0 deletions
19
sandbox/docker_web_app/Dockerfile
Normal file
19
sandbox/docker_web_app/Dockerfile
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
FROM node:18
|
||||
|
||||
# Create app directory
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# Install app dependencies
|
||||
# A wildcard is used to ensure both apckage.json AND package-lock.json are
|
||||
# copied where available (npm@5+)
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm install
|
||||
# If you are building your code for production
|
||||
# RUN npm ci --omit=dev
|
||||
|
||||
# BUNDLE app source
|
||||
COPY . .
|
||||
|
||||
EXPOSE 8080
|
||||
CMD ["node", "server.js"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue