mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
16 lines
381 B
Docker
16 lines
381 B
Docker
|
FROM ubuntu:16.04
|
||
|
|
||
|
ADD docker/install-dependencies.sh /scripts/install-dependencies.sh
|
||
|
RUN /scripts/install-dependencies.sh && apt-get install -y snapcraft
|
||
|
|
||
|
# Setup dirs
|
||
|
ADD . /src/insomnia
|
||
|
WORKDIR /src/insomnia
|
||
|
VOLUME /src/insomnia/packages/insomnia-app/dist
|
||
|
|
||
|
ADD docker/bootstrap.sh /scripts/bootstrap.sh
|
||
|
RUN /scripts/bootstrap.sh
|
||
|
|
||
|
# Define build command
|
||
|
CMD npm run app-package
|