trianta.dev/Dockerfile

16 lines
167 B
Docker
Raw Normal View History

FROM nginx:alpine
2024-09-17 02:30:55 -05:00
2024-09-17 18:40:58 -05:00
RUN apt-get update && apt-get install -y nodejs npm
2024-09-17 02:30:55 -05:00
WORKDIR /app
COPY package*.json ./
RUN npm install
2024-09-17 18:40:58 -05:00
COPY . .
2024-09-17 02:30:55 -05:00
RUN npm run build
EXPOSE 3466