FROM dlang2/dmd-ubuntu WORKDIR /dlang/vibe-docker COPY . . RUN useradd --user-group --create-home --shell /bin/false app RUN chown -R app:app /dlang/vibe-docker USER app RUN dub build -v EXPOSE 8080 CMD ["/dlang/vibe-docker/vibe-docker"]