opencode-v1 / Dockerfile
z90486091's picture
updated
09a9d6b
raw
history blame
274 Bytes
FROM ghcr.io/anomalyco/opencode:latest
# Environment variables
ENV OPENCODE_SERVER_PASSWORD=$HF_OPENCODE_PASSWORD
ENV OPENCODE_SERVER_USERNAME=opencode
# Port configuration
EXPOSE 8860
# Start web server
CMD ["web", "--port", "8860", "--hostname", "0.0.0.0"]