You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
221 B
15 lines
221 B
4 years ago
|
# pull official base image
|
||
|
FROM node:13.12.0-alpine
|
||
|
|
||
|
RUN mkdir -p /app
|
||
|
WORKDIR /app
|
||
|
EXPOSE 3000
|
||
|
|
||
|
ENV PATH /app/node_modules/.bin:$PATH
|
||
|
|
||
|
COPY . /app
|
||
|
|
||
|
RUN npm install --silent
|
||
|
RUN npm rebuild node-sass
|
||
|
|
||
|
CMD ["npm", "start"]
|