Skip to content

Commit 596ad0c

Browse files
author
Raffael Herrmann
committed
Restructure project: move web files to public/, add Dockerfile and .dockerignore
1 parent 11a312a commit 596ad0c

5 files changed

Lines changed: 16 additions & 0 deletions

File tree

.dockerignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.git
2+
.gitignore
3+
README.md
4+
Dockerfile
5+
.dockerignore

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Use the official nginx image as the base image
2+
FROM nginx:alpine
3+
4+
# Copy the public directory contents to the nginx html directory
5+
COPY public/ /usr/share/nginx/html/
6+
7+
# Expose port 80
8+
EXPOSE 80
9+
10+
# Start nginx
11+
CMD ["nginx", "-g", "daemon off;"]
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)