Skip to content

Commit

Permalink
Test de Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
yannicka committed Jan 5, 2022
1 parent 4b411c4 commit 08afdd7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM httpd:2-alpine

COPY . /var/yannicka

RUN apk add --update nodejs npm

RUN cd /var/yannicka && npm install && npm run build && mv public/* /usr/local/apache2/htdocs/

EXPOSE 80

CMD [ "httpd-foreground" ]

0 comments on commit 08afdd7

Please sign in to comment.