12 lines
160 B
Docker
12 lines
160 B
Docker
|
FROM node
|
||
|
|
||
|
RUN npm install http-server -g
|
||
|
|
||
|
WORKDIR /app
|
||
|
EXPOSE 80
|
||
|
COPY ./dist .
|
||
|
|
||
|
COPY entrypoint.sh /
|
||
|
RUN chmod +x /entrypoint.sh
|
||
|
ENTRYPOINT ["/entrypoint.sh"]
|