Skip to content

Commit d7bee29

Browse files
author
DedUndead
committed
Add exercise 1.13
1 parent bef24e4 commit d7bee29

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

1.13

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Script started on 2021-05-12 14:02:44+03:00 [TERM="linux" TTY="/dev/tty1" COLUMNS="100" LINES="37"]
2+
[?2004h[root@fedora34 example-backend]# dcokerocker run -p 8080:8080 -h d --rm server
3+
[?2004lab611cbe23e36ac38abe4572a8ce7808b60c67ba6a8d12e93cdd6fec008b75d4
4+
[?2004h[root@fedora34 example-backend]# [?2004l
5+
exit
6+
7+
Script done on 2021-05-12 14:03:20+03:00 [COMMAND_EXIT_CODE="0"]

Part1/1.13

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM golang:1.16
2+
3+
WORKDIR /usr/src/app
4+
5+
EXPOSE 8080
6+
7+
COPY . .
8+
9+
ENV PORT=8080
10+
11+
RUN go build
12+
13+
CMD ./server
14+

0 commit comments

Comments
 (0)