Self-contained Express-Postgresql-React project container.
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.
|
# 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"] |