Skip to content
Snippets Groups Projects
Commit e38e9ee7 authored by nimrod's avatar nimrod
Browse files

Move deployment specifics from the Dockerfile to docker-compose.yml.

parent a64f21cf
No related branches found
No related tags found
No related merge requests found
......@@ -163,6 +163,4 @@ RUN wget https://www.mongodb.org/static/pgp/server-4.4.asc -O /tmp/mongo.asc &&
LABEL com.github.containers.toolbox="true" \
com.github.debarshiray.toolbox="true"
VOLUME /run/sshd
EXPOSE 2222
CMD ["/bin/bash"]
HEALTHCHECK CMD nc -vzw3 localhost 2222 || exit 1
......@@ -6,6 +6,10 @@ services:
build:
context: .
command: ["/usr/sbin/sshd", "-D", "-o", "Port=2222"]
healthcheck:
test:
- CMD-SHELL
- nc -vzw3 localhost 2222 || exit 1
hostname: workbench.shore.co.il
image: registry.shore.co.il/workbench:${TAG:-latest}
network_mode: host
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment