Browse Source

„Dockerfile“ löschen

master
Anja Freudenreich 1 month ago
parent
commit
3398de7e59
1 changed files with 0 additions and 12 deletions
  1. 0
    12
      Dockerfile

+ 0
- 12
Dockerfile View File

@@ -1,12 +0,0 @@
# use alpine as base image
FROM alpine as build-env
# install build-base meta package inside build-env container
RUN apk add --no-cache build-base
# change directory to /app
WORKDIR /app
# copy all files from current directory inside the build-env container
COPY . .
# Compile the source code and generate hello binary executable file
RUN gcc -o hello helloDocker.c
# run the program
ENTRYPOINT ["/app/hello"]

Loading…
Cancel
Save