mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-10 16:25:01 -04:00
12 lines
270 B
Docker
12 lines
270 B
Docker
# build a small nginx image with built app
|
|
FROM nginx
|
|
|
|
## Remove default nginx website
|
|
RUN rm -rf /usr/share/nginx/html/*
|
|
|
|
## From 'build' copy website to default nginx public folder
|
|
COPY ./build/prod /usr/share/nginx/html
|
|
|
|
EXPOSE 80
|
|
|
|
CMD ["nginx", "-g", "daemon off;"]
|