add docker memes

This commit is contained in:
Torma Kristóf 2021-06-12 22:53:02 +02:00
parent 7db5b3b76f
commit c544a2e31c
1 changed files with 8 additions and 0 deletions

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM node:latest AS build
ADD . /app
WORKDIR /app
RUN npm install && npm run build
FROM nginx:stable
COPY --from=build /app/dist /usr/share/nginx/html
ADD nginx-site.conf /etc/nginx/conf.d/default.conf