Skip to content
Snippets Groups Projects
Commit c22adbbc authored by Erik Borgeteien Hansen's avatar Erik Borgeteien Hansen
Browse files

Add Dockerfile

parent 432b714d
No related branches found
No related tags found
No related merge requests found
Pipeline #173996 failed
FROM node:16-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
# copy project files and folders to the current working directory (i.e. 'app' folder)
COPY . .
# build app for production with minification
# RUN npm run build
RUN npm run lint
EXPOSE 8080
CMD [ "npm", "run", "serve" ]
\ 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