Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
FEATURE: Add Dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-smith committed Jan 24, 2017
1 parent d23b955 commit d136eb1
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
@@ -0,0 +1,14 @@
FROM ubuntu
MAINTAINER OpenBazaar Developers

RUN apt-get update && apt-get install -y ca-certificates

EXPOSE 4001
EXPOSE 4002
EXPOSE 8080

VOLUME /var/openbazaar

COPY ./dist/openbazaar-go-linux-amd64 /opt/openbazaard

CMD ["/opt/openbazaard", "start", "-t", "-d", "/var/openbazaar"]
13 changes: 13 additions & 0 deletions docker-compose.yml
@@ -0,0 +1,13 @@
version: '2'

services:
openbazaard:
build: .
ports:
- 4001
- 4002
volumes:
- obdata:/var/openbazaar

volumes:
obdata:

0 comments on commit d136eb1

Please sign in to comment.