Fixed dockerfile. It couldn't find the executable because I messed up the path. It works now.

This commit is contained in:
Rasmus Rasmussen 2025-03-16 12:56:53 +01:00
parent f5cac6d77c
commit 96915a4c0f
3 changed files with 4 additions and 4 deletions

View File

@ -2,6 +2,6 @@ FROM gcc:latest
WORKDIR /app
COPY bin/hello_world /app/
COPY bin/Test /app/
CMD ["bin/hello_world"]
CMD ["./Test"]

View File

View File

@ -1,7 +1,7 @@
# Makefile for hello.c
CC = g++ # C compiler
CFLAGS = -O2 # Compiler flags (optimization level)
CC = g++
CFLAGS = -O2
SRC_DIR = src
BUILD_DIR = build