Skip to content
Snippets Groups Projects
Commit aa4ff9c9 authored by Felipe D'Abrantes's avatar Felipe D'Abrantes
Browse files

Use node:latest for the frontend service docker

parent 5134d9b0
No related branches found
No related tags found
1 merge request!24Fe questions and posts (This one is big)
# base image # base image
FROM node:alpine FROM node:latest
# create & set working directory # create & set working directory
RUN mkdir -p /frontend-service/app RUN mkdir -p /frontend-service/app
...@@ -9,6 +9,7 @@ WORKDIR /frontend-service/app ...@@ -9,6 +9,7 @@ WORKDIR /frontend-service/app
COPY . /frontend-service/app COPY . /frontend-service/app
# start app # start app
RUN npm install
RUN npm run build RUN npm run build
EXPOSE 9000 EXPOSE 9000
CMD npm run dev CMD npm run dev
\ No newline at end of file
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