trianta.dev/Dockerfile
2024-09-17 19:09:54 -05:00

16 lines
165 B
Docker

FROM nginx:latest
RUN apt-get update && apt-get install -y nodejs npm
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
EXPOSE 80