mirror of
https://github.com/maciejpedzich/cats-album.git
synced 2024-11-09 14:53:03 +01:00
Add a Dockerfile
This commit is contained in:
parent
17e7a61068
commit
ca2201ef41
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@ -0,0 +1,9 @@
|
||||
FROM node:lts-alpine AS build
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN npm i
|
||||
RUN npm run build
|
||||
|
||||
FROM httpd:2.4-alpine AS runtime
|
||||
COPY --from=build /app/dist /usr/local/apache2/htdocs/
|
||||
EXPOSE 80
|
Loading…
Reference in New Issue
Block a user