fooder-app/Dockerfile

14 lines
186 B
Docker
Raw Permalink Normal View History

2024-04-04 19:03:41 +02:00
# BUILD
FROM node:16.14-alpine
2023-07-30 00:10:33 +02:00
2024-04-04 19:03:41 +02:00
COPY ./build/web /app
2023-07-30 00:10:33 +02:00
2024-04-04 19:03:41 +02:00
WORKDIR /app/
2023-07-30 00:10:33 +02:00
2024-04-04 19:03:41 +02:00
RUN apk --no-cache add curl
RUN npm install --global http-server
2023-07-30 00:10:33 +02:00
2024-03-25 19:46:03 +01:00
EXPOSE 80
2024-04-04 19:03:41 +02:00
CMD ["npx", "http-server", "-p", "80"]