Skip to content
Snippets Groups Projects
Commit 831100a5 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

Update Dockerfile

parent 01754888
No related branches found
No related tags found
1 merge request!11Recette
# Stage 0, based on Node.js
FROM node:12.16
FROM node:12.16-slim
WORKDIR /app
# Copy the package.json file first in order to cache the modules
COPY ./package.json .
COPY . .
# Install npm dependencies
RUN npm install --silent
# Copy Json Server Api
COPY /api ./api
# run json-server
RUN npm run api
# expose port 3000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment