awesome-compose/react-express-mongodb/backend/Dockerfile
Jérémie Drouet e5828ad1bf react-express-mongodb: clean frontend code
- apply prettier style on every js file
- remove mutation on immutable variables
- remove wrapper on top of axios
- fix form handling
- remove useless port definition in dockerfile

Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
2020-05-13 11:33:48 +02:00

15 lines
244 B
Docker

FROM node:lts-buster-slim
# Create app directory
WORKDIR /usr/src/app
COPY package.json /usr/src/app/package.json
COPY package-lock.json /usr/src/app/package-lock.json
RUN npm ci
COPY . /usr/src/app
EXPOSE 3000
CMD [ "npm", "run", "dev" ]