mirror of
https://github.com/The-Art-of-Hacking/h4cker.git
synced 2024-09-08 10:23:31 +00:00
13 lines
179 B
Docker
13 lines
179 B
Docker
![]() |
# Base Image
|
||
|
FROM node:12-slim
|
||
|
WORKDIR /usr/src/app
|
||
|
|
||
|
# Install Dependencies
|
||
|
COPY package*.json ./
|
||
|
RUN npm install
|
||
|
|
||
|
# Copy in Application
|
||
|
COPY . .
|
||
|
|
||
|
# Run Server
|
||
|
CMD [ "server.js" ]
|