update nginx (looked at the subject, nothing is prohibits using docker hub

This commit is contained in:
2024-10-28 20:00:40 +01:00
parent 13e1578b20
commit c81f2627bf
2 changed files with 10 additions and 14 deletions

View File

@ -3,10 +3,10 @@
# ::: :::::::: # # ::: :::::::: #
# Makefile :+: :+: :+: # # Makefile :+: :+: :+: #
# +:+ +:+ +:+ # # +:+ +:+ +:+ #
# By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ # # By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2024/07/13 16:18:56 by tomoron #+# #+# # # Created: 2024/10/28 19:26:13 by tomoron #+# #+# #
# Updated: 2024/09/24 00:03:51 by edbernar ### ########.fr # # Updated: 2024/10/28 19:26:16 by tomoron ### ########.fr #
# # # #
# **************************************************************************** # # **************************************************************************** #
@ -16,14 +16,10 @@ COMPOSE = docker compose -f $(FILE)
all: up all: up
build: up:
# mkdir -p ~/METH_data $(COMPOSE) up --build -d
$(COMPOSE) build up_att:
$(COMPOSE) up --build
up: build
$(COMPOSE) up -d
up_att: build
$(COMPOSE) up
watch: watch:
$(COMPOSE) watch $(COMPOSE) watch
@ -38,4 +34,4 @@ fclean:clean
re: fclean all re: fclean all
.PHONY: all build up up_att down fclean re .PHONY: all up up_att down fclean re

View File

@ -1,4 +1,4 @@
FROM debian:bullseye FROM nginx:stable
RUN apt update RUN apt update
RUN apt upgrade -y RUN apt upgrade -y