Small fix in Dockerfile

This commit is contained in:
2020-11-27 19:34:22 +01:00
parent 316c3cde93
commit ebaa93b1ea
3 changed files with 37 additions and 28 deletions

2
.gitignore vendored
View File

@@ -1 +1 @@
.idea
.idea/

61
.idea/workspace.xml generated
View File

@@ -19,22 +19,10 @@
<select />
</component>
<component name="ChangeListManager">
<list default="true" id="d639f8a9-4b6d-4957-9ba4-8361acac15ca" name="Default Changelist" comment="">
<change afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/dataSources.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/Dockerfile" afterDir="false" />
<change afterPath="$PROJECT_DIR$/database.go" afterDir="false" />
<change afterPath="$PROJECT_DIR$/doc/swagger.yaml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/go.mod" afterDir="false" />
<change afterPath="$PROJECT_DIR$/init.sh" afterDir="false" />
<change afterPath="$PROJECT_DIR$/musicFacade.go" afterDir="false" />
<change afterPath="$PROJECT_DIR$/songs/01. Opening.mp3" afterDir="false" />
<change afterPath="$PROJECT_DIR$/songs/01. Title.mp3" afterDir="false" />
<change afterPath="$PROJECT_DIR$/syncFacade.go" afterDir="false" />
<list default="true" id="d639f8a9-4b6d-4957-9ba4-8361acac15ca" name="Default Changelist" comment="1.0 of Go version">
<change beforePath="$PROJECT_DIR$/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/app.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/musicserver.go" beforeDir="false" afterPath="$PROJECT_DIR$/musicserver.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Dockerfile" beforeDir="false" afterPath="$PROJECT_DIR$/Dockerfile" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -92,6 +80,14 @@
<directory value="$PROJECT_DIR$" />
<method v="2" />
</configuration>
<configuration name="Dockerfile" type="docker-deploy" factoryName="dockerfile" temporary="true" server-name="Docker">
<deployment type="dockerfile">
<settings>
<option name="sourceFilePath" value="Dockerfile" />
</settings>
</deployment>
<method v="2" />
</configuration>
<configuration name="Dockerfile" type="docker-deploy" factoryName="dockerfile" temporary="true" server-name="Docker">
<deployment type="dockerfile">
<settings>
@@ -150,6 +146,11 @@
</deployment>
<method v="2" />
</configuration>
<recent_temporary>
<list>
<item itemvalue="Docker.Dockerfile" />
</list>
</recent_temporary>
</component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="TypeScriptGeneratedFilesManager">
@@ -167,6 +168,10 @@
</option>
<option name="oldMeFiltersMigrated" value="true" />
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="1.0 of Go version" />
<option name="LAST_COMMIT_MESSAGE" value="1.0 of Go version" />
</component>
<component name="VgoProject">
<integration-enabled>true</integration-enabled>
</component>
@@ -187,10 +192,10 @@
<screen x="0" y="0" width="1280" height="800" />
</state>
<state x="354" y="206" key="#com.intellij.fileTypes.FileTypeChooser/0.0.1280.800@0.0.1280.800" timestamp="1606327049349" />
<state x="63" y="22" width="1120" height="704" key="CommitChangelistDialog2" timestamp="1606500771742">
<state x="63" y="25" width="1120" height="702" key="CommitChangelistDialog2" timestamp="1606501993100">
<screen x="0" y="0" width="1280" height="800" />
</state>
<state x="63" y="22" width="1120" height="704" key="CommitChangelistDialog2/0.0.1280.800@0.0.1280.800" timestamp="1606500771742" />
<state x="63" y="25" width="1120" height="702" key="CommitChangelistDialog2/0.0.1280.800@0.0.1280.800" timestamp="1606501993100" />
<state x="500" y="304" key="Github.ShareDialog" timestamp="1602604919305">
<screen x="0" y="0" width="1280" height="800" />
</state>
@@ -199,25 +204,25 @@
<screen x="0" y="0" width="1280" height="800" />
</state>
<state x="454" y="112" key="Github.UntrackedFilesDialog/0.0.1280.800@0.0.1280.800" timestamp="1602604943862" />
<state width="1238" height="264" key="GridCell.Tab.0.bottom" timestamp="1606334681949">
<state width="929" height="234" key="GridCell.Tab.0.bottom" timestamp="1606501547537">
<screen x="0" y="0" width="1280" height="800" />
</state>
<state width="1238" height="264" key="GridCell.Tab.0.bottom/0.0.1280.800@0.0.1280.800" timestamp="1606334681949" />
<state width="929" height="234" key="GridCell.Tab.0.bottom/0.0.1280.800@0.0.1280.800" timestamp="1606501547537" />
<state width="846" height="212" key="GridCell.Tab.0.bottom/0.25.1280.702@0.25.1280.702" timestamp="1606330812762" />
<state width="1238" height="264" key="GridCell.Tab.0.center" timestamp="1606334681948">
<state width="929" height="234" key="GridCell.Tab.0.center" timestamp="1606501547533">
<screen x="0" y="0" width="1280" height="800" />
</state>
<state width="1238" height="264" key="GridCell.Tab.0.center/0.0.1280.800@0.0.1280.800" timestamp="1606334681948" />
<state width="929" height="234" key="GridCell.Tab.0.center/0.0.1280.800@0.0.1280.800" timestamp="1606501547533" />
<state width="846" height="212" key="GridCell.Tab.0.center/0.25.1280.702@0.25.1280.702" timestamp="1606330812757" />
<state width="1238" height="264" key="GridCell.Tab.0.left" timestamp="1606334681947">
<state width="929" height="234" key="GridCell.Tab.0.left" timestamp="1606501547529">
<screen x="0" y="0" width="1280" height="800" />
</state>
<state width="1238" height="264" key="GridCell.Tab.0.left/0.0.1280.800@0.0.1280.800" timestamp="1606334681947" />
<state width="929" height="234" key="GridCell.Tab.0.left/0.0.1280.800@0.0.1280.800" timestamp="1606501547529" />
<state width="846" height="212" key="GridCell.Tab.0.left/0.25.1280.702@0.25.1280.702" timestamp="1606330812754" />
<state width="1238" height="264" key="GridCell.Tab.0.right" timestamp="1606334681949">
<state width="929" height="234" key="GridCell.Tab.0.right" timestamp="1606501547536">
<screen x="0" y="0" width="1280" height="800" />
</state>
<state width="1238" height="264" key="GridCell.Tab.0.right/0.0.1280.800@0.0.1280.800" timestamp="1606334681949" />
<state width="929" height="234" key="GridCell.Tab.0.right/0.0.1280.800@0.0.1280.800" timestamp="1606501547536" />
<state width="846" height="212" key="GridCell.Tab.0.right/0.25.1280.702@0.25.1280.702" timestamp="1606330812760" />
<state width="1238" height="264" key="GridCell.Tab.1.bottom" timestamp="1606334681952">
<screen x="0" y="0" width="1280" height="800" />
@@ -243,6 +248,10 @@
<screen x="0" y="0" width="1280" height="800" />
</state>
<state x="491" y="322" key="VCS.ChangelistChooser/0.0.1280.800@0.0.1280.800" timestamp="1604854207192" />
<state x="240" y="137" key="Vcs.Push.Dialog.v2" timestamp="1606501370366">
<screen x="0" y="0" width="1280" height="800" />
</state>
<state x="240" y="137" key="Vcs.Push.Dialog.v2/0.0.1280.800@0.0.1280.800" timestamp="1606501370366" />
<state x="546" y="264" key="com.intellij.docker.deployment.ui.DockerPortBindingsField.v173.dialogSize" timestamp="1606060189431">
<screen x="0" y="0" width="1280" height="800" />
</state>
@@ -265,7 +274,7 @@
<breakpoints>
<line-breakpoint enabled="true" type="DlvLineBreakpoint">
<url>file://$PROJECT_DIR$/musicFacade.go</url>
<line>139</line>
<line>135</line>
<option name="timeStamp" value="4" />
</line-breakpoint>
</breakpoints>

View File

@@ -9,7 +9,7 @@ FROM golang:1.15.5-alpine
RUN apk add --no-cache bash
EXPOSE 8080
VOLUME /sorted
VOLUME /sorterad
VOLUME /sorterat
VOLUME /doc
ENV DB_HOST ""