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