Grey Market Labs assessment
This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM node:latest
|
||||
|
||||
# Set working directoy
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# Copy dependencies and install
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
|
||||
# Copy code
|
||||
COPY *.js ./
|
||||
|
||||
# Run the app
|
||||
EXPOSE 3000
|
||||
|
||||
COPY start.sh .
|
||||
RUN chmod 777 start.sh
|
||||
CMD ./start.sh
|
||||
|
||||
Reference in New Issue
Block a user