refactor: update Dockerfile and README for improved structure and ECS details
- Modified Dockerfile to copy both HTML and source files for better organization. - Enhanced README to include ECS architecture details, technical features, and updated game instructions. - Added sections on game and technical features, emphasizing the benefits of the ECS pattern and Docker support.
This commit is contained in:
parent
7dd7477a3b
commit
0d702e920a
2 changed files with 98 additions and 33 deletions
|
|
@ -7,12 +7,12 @@ ARG BUILD_DATE=unknown
|
|||
# Create version.json file with build information
|
||||
RUN printf '{"version":"%s","buildDate":"%s"}\n' "${VERSION}" "${BUILD_DATE}" > /usr/share/nginx/html/version.json
|
||||
|
||||
# Copy the HTML file
|
||||
COPY index.html /usr/share/nginx/html/index.html
|
||||
# Copy HTML and source files
|
||||
COPY index.html /usr/share/nginx/html/
|
||||
COPY src/ /usr/share/nginx/html/src/
|
||||
|
||||
# Copy nginx configuration
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
# Expose port 80
|
||||
EXPOSE 80
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue