add Docker

This commit is contained in:
Evgeny Nerush
2024-01-08 00:16:51 +03:00
parent 52c35cee6d
commit 20d02b8b10
3 changed files with 126 additions and 0 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM almalinux:latest
WORKDIR /easy-xray
COPY ex.sh .
RUN chmod +x ex.sh
COPY template_config_client.jsonc .
COPY template_config_server.jsonc .
COPY customgeo.dat .
RUN dnf update --assumeyes
RUN dnf install --assumeyes jq openssl
# Ports
EXPOSE 80
EXPOSE 443
ENTRYPOINT ["bash"]