mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
24 lines
445 B
Docker
24 lines
445 B
Docker
# This file is work in progress and will not build yet.
|
|
|
|
FROM docker:latest
|
|
|
|
# Install bash and curl and git.
|
|
RUN apk update && apk install bash && apk install curl && apk install git && apk install sudo
|
|
|
|
RUN mkdir /usr/src/oneuptime
|
|
|
|
WORKDIR /usr/src/oneuptime
|
|
|
|
COPY . /usr/src/oneuptime/
|
|
|
|
ENV IS_DOCKER=true
|
|
|
|
RUN bash install.sh
|
|
|
|
# Expose ports.
|
|
# - 80: OneUptime HTTP
|
|
# - 443: OneUptime HTTPS
|
|
EXPOSE 80
|
|
EXPOSE 443
|
|
|
|
CMD [ "npm", "start" ] |