Skip to content

Commit

Permalink
Update Dockerfile for Windows variants
Browse files Browse the repository at this point in the history
Removing ENTRYPOINT and only using CMD as per comment in PR:
docker-library/official-images#3622
  • Loading branch information
kozlovic committed Oct 26, 2017
1 parent 2f9abaf commit 9596dfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions windows/nanoserver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ COPY nats-streaming-server.exe nats-streaming-server.exe
EXPOSE 4222 8222

# Run with default memory based store
ENTRYPOINT ["nats-streaming-server"]
CMD ["-m", "8222"]
CMD ["nats-streaming-server", "-m", "8222"]
3 changes: 1 addition & 2 deletions windows/windowsservercore/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ COPY nats-streaming-server.exe nats-streaming-server.exe
EXPOSE 4222 8222

# Run with default memory based store
ENTRYPOINT ["nats-streaming-server"]
CMD ["-m", "8222"]
CMD ["nats-streaming-server", "-m", "8222"]

0 comments on commit 9596dfa

Please sign in to comment.