Website now dockerized with docker-compose

This commit is contained in:
2019-12-26 16:23:50 +01:00
parent adfe1c81d1
commit d55018f564
2 changed files with 27 additions and 0 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM google/dart:2.6
WORKDIR /app
RUN mkdir /pub-cache
ENV PUB_CACHE=/pub-cache
ENV PATH="${PATH}:/pub-cache/bin"
RUN pub global activate webdev
# RUN pub global activate stagehand
ADD pubspec.* /app/
RUN pub get
ADD . /app/
RUN pub get --offline
# EXPOSE 8010