mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 16:51:05 -05:00
14 lines
227 B
Text
14 lines
227 B
Text
|
FROM node:latest
|
||
|
|
||
|
# Create app directory
|
||
|
RUN mkdir -p /usr/src/app
|
||
|
WORKDIR /usr/src/app
|
||
|
|
||
|
# Install app dependencies
|
||
|
COPY package.json /usr/src/app/
|
||
|
RUN npm install
|
||
|
|
||
|
ADD server.js server.js
|
||
|
EXPOSE 3000
|
||
|
CMD ["node", "server.js"]
|